Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PX1044 - Changes to PXCache cannot be performed in event handlers not detecting indirect access through PXSelect #145

Open
gmichaud opened this issue Oct 18, 2018 · 1 comment
Labels
enhancement New feature or request static analysis Items related to static code analysis

Comments

@gmichaud
Copy link

This rule only appears to detect direct access to a cache, ex: Document.Cache.Insert(row) or Caches[typeof(SOOrder)].Insert(row). If you go through the Insert() function of PXSelectBase, the error will not be raised. Is that intended?

@dropsonic
Copy link
Collaborator

Hi @gmichaud,
No, it is not intended. We'll fix it in the future versions.

@SENya1990 SENya1990 added enhancement New feature or request static analysis Items related to static code analysis labels Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request static analysis Items related to static code analysis
Projects
None yet
Development

No branches or pull requests

3 participants