-
Notifications
You must be signed in to change notification settings - Fork 929
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
Local error handling command lost on export / import #351
Comments
looks like a bug in the xml deserialization |
doh: turns out it would help if the tests tested the correct formatting! They were testing this format:
But the xml output test were testing the correct format situation: all tests pass, but it's broken 😧 |
Would you like me to test this? If so can I have a snapshot number/link please? |
@andysteady sure, if you don't mind testing the latest build from here that would be helpful: http://build.rundeck.org/job/rundeck-development/ If it looks good, we can close the issue. thanks! |
It worked, thanks. Referential integrity constraint violation: FKAFFFA9275C4E2579: PUBLIC.RDOPTION FOREIGN KEY(SCHEDULED_EXECUTION_ID) REFERENCES PUBLIC.SCHEDULED_EXECUTION(ID); SQL statement: delete from scheduled_execution where id=? and version=? [23003-112] |
thanks, I will log that as a separate issue and see if I can reproduce it |
OK - I have seen it before, I think its something to do with the relationship between jobs. I did try briefly to delete them in reverse dependency order, and bulk delete them all together, but didn't have any luck with that. Cheers, Andy |
Problem happens on 1.5.1 GA and on 1.5.1 snapshot 209
Create a job with a local error handler
Export the job and import it somewhere else
The content of the local error handler is lost.
Following job exhibits the behaviour:
The text was updated successfully, but these errors were encountered: