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
Describe the bug
Every time a profile reconcile happens, it tries to use the sfpowerkit cache. Problem with that, if you execute the commands locally (or multiple in a CI, which uses the reconcile). Every command uses the same cache. This results in various strange bugs, because it uses the cache of another org, with different fields, apps etc..
To Reproduce
Steps to reproduce the behavior:
Create a profile in org-1 and org-2 with the same name
Add an CustomApplication/Field on org-1
Add profile access for the previous CustomApplication on org-1
sfp profile reconcile -o org-1 <Test-Profile>
sfp profile reconcile -o org-2 <Test-Profile>
--> Same profile of org-2 has the CustomApplication included, because the cache of org-1 was used.
Expected behavior
Cache should be reseted after command lifetime or before.
Screenshots
Platform Details (please complete the following information):
OS: Everywhere
Version [e.g. CLI Version eg: 1.6.6]: @flxbl-io/sfp/39.2.1 darwin-arm64 node-v18.20.3
Describe the bug
Every time a profile reconcile happens, it tries to use the sfpowerkit cache. Problem with that, if you execute the commands locally (or multiple in a CI, which uses the reconcile). Every command uses the same cache. This results in various strange bugs, because it uses the cache of another org, with different fields, apps etc..
To Reproduce
Steps to reproduce the behavior:
sfp profile reconcile -o org-1 <Test-Profile>
sfp profile reconcile -o org-2 <Test-Profile>
--> Same profile of org-2 has the CustomApplication included, because the cache of org-1 was used.
Expected behavior
Cache should be reseted after command lifetime or before.
Screenshots
Platform Details (please complete the following information):
Additional context
Problem can be solved, when I would always delete the
.sfdx/sfpowerkit/sfpowerkit-cache.db
The text was updated successfully, but these errors were encountered: