You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the same instance of PnPContext, if we call GetWssIdForTermAsync multiple times for different Term Ids, it will return the lowest WssId.
Steps to reproduce
Call GetWssIdForTermAsync for a term id var wssId = await PnPContext.Web.GetWssIdForTermAsync("9a75fe52-df53-4308-ad8d-dde6ee58376c");
This term returns a WssId of 19
Call GetWssIdForTermAsync for a term having a WssId greater than the first one var wssId = await PnPContext.Web.GetWssIdForTermAsync("fd24f190-c115-4258-b337-7997f8e00a6c");
This term will still returns a WssId of 19 despite it should be 20.
Expected behavior
GetWssIdForTermAsync should return the correct WssId.
Issue is caused by the implementation still having previous listItems cached.
Category
Describe the bug
Using the same instance of PnPContext, if we call GetWssIdForTermAsync multiple times for different Term Ids, it will return the lowest WssId.
Steps to reproduce
var wssId = await PnPContext.Web.GetWssIdForTermAsync("9a75fe52-df53-4308-ad8d-dde6ee58376c");
This term returns a WssId of 19
var wssId = await PnPContext.Web.GetWssIdForTermAsync("fd24f190-c115-4258-b337-7997f8e00a6c");
This term will still returns a WssId of 19 despite it should be 20.
Expected behavior
GetWssIdForTermAsync should return the correct WssId.
Issue is caused by the implementation still having previous listItems cached.
Environment details (development & target environment)
The text was updated successfully, but these errors were encountered: