Closed DavidHoerster closed 2 years ago
I have added the base (and changed the name to basePolicy). Not sure if this change fixes the issue. Anyway, the code is reorganized into two different classes. One for single policy renumber and the other one for multiple. The issue that you have reported is related to the multiple and it's done due to the fact that the build operation calls the orchestration steps renumber. Pleas check out the new version, it MAY solve the problem. If not, pleas change the autoRenumber
to false
(until this issue is fixed).
Setting autoRenumber
does allow for policy building to work with 1.3.3 now. I'll also take a look at the code to see how to get autoRenumber
working.
Fixed with version 1.3.4
Extension version: 1.3.2 I have a series of policy files, each of which contains either
BuildingBlocks
,ClaimsProviders
,UserJourneys
, orRelyingParty
elements. When I use the extensions "Policy Build" command (Ctrl + Shift + 5 shortcut), the policies are not built and I see the following stack trace in the Dev Tools:It looks like a recent PR ( #69 ) references
this.journeys.has(...)
inhasPolicyId
which is causing this issue.Should this read
this.base.journeys.has(...)
instead?Rolling back to 1.3.1 allows me to build policies again.