-
Notifications
You must be signed in to change notification settings - Fork 193
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
Add TriggerMovedTableSchemaCheck #855
Conversation
src/Business Foundation/App/NoSeries/src/Upgrade/NoSeriesInstaller.Codeunit.al
Show resolved
Hide resolved
src/Business Foundation/App/NoSeries/src/Upgrade/NoSeriesInstaller.Codeunit.al
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are implementing this consider:
Moving the check to both OnInstall and Upgrade, you may miss the check otherwise
Name it SchemaSanityCheck or something, add comments why we have this confusing code
Add a method to validate after upgrade is done to check that the data is moved
Consider emitting telemetry and setting up the alerts
Have the methods only in v24.x so we track the upgrade, no need to have this in master going forward
The check is now on install and on upgrade. Added Sanity to the method name. Added some explanation in a doc trigger. |
src/Business Foundation/App/NoSeries/src/Upgrade/NoSeriesInstaller.Codeunit.al
Show resolved
Hide resolved
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Adds TriggerMovedTableSchemaCheck #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#523755](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/523755)
<!-- Thank you for submitting a Pull Request. If you're new to contributing to BCApps please read our pull request guideline below * https://github.com/microsoft/BCApps/Contributing.md --> #### Summary <!-- Provide a general summary of your changes --> Adds TriggerMovedTableSchemaCheck #### Work Item(s) <!-- Add the issue number here after the #. The issue needs to be open and approved. Submitting PRs with no linked issues or unapproved issues is highly discouraged. --> Fixes [AB#523755](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/523755)
This pull request backports #855 to releases/24.x Fixes [AB#523956](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/523956)
This pull request backports #855 to releases/24.0 Fixes [AB#523955](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/523955)
Summary
Adds TriggerMovedTableSchemaCheck
Work Item(s)
Fixes AB#523755