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

Use IDomainObjectModification Implementation #69

Merged

Conversation

JVickery-TBS
Copy link

fix(dev): use IDomainObjectModification implementation;

  • Use IDomainObjectModification instead of IResourceUrlChange for automagic exception handling.

Currently, the notify method from the IResourceUrlChange implementation is assuming that the Resource exists in the resource_show action call. But, at this point, other extensions (namely Validation running in sync mode) can delete the Resource from the session before it is committed. This would do a error here.

So using IDomainObjectModification instead, will automagically handle exceptions, logging them, and just passing so that normal operations will resume.

ThrawnCA and others added 8 commits May 23, 2023 10:33
Develop to master - merge and fix upstream changes
Develop to master - fix parsing of mixed single and double quotes
Develop to master - performance enhancements
Develop to master - fix overly aggressive date parsing
Develop to master - handle null url_type for link resources
Develop to master - add Latin-1 fallback
- Use `IDomainObjectModification` instead of `IResourceUrlChange` for automagic exception handling.
@ThrawnCA ThrawnCA changed the base branch from master to develop November 16, 2023 22:56
@ThrawnCA ThrawnCA merged commit 8ecf84a into qld-gov-au:develop Nov 16, 2023
4 checks passed
@ThrawnCA
Copy link

We can test this out on dev.data.qld.gov.au and pass on any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants