Created attachment 1389175 [details] dialog Description of problem: This bug is same as https://bugzilla.redhat.com/show_bug.cgi?id=1525091. Version-Release number of selected component (if applicable): 5.9.0.18.20180125190915_e0d3417 How reproducible: Steps to Reproduce: 1. Import the dialog and domain attached . 2. Edit the dialog in OPS UI , Internal server error shows. 3. Actual results: Expected results: Additional info:
Created attachment 1389176 [details] domain
DrewB - Please work with DrewU (and Erik if needed) to determine if this is an issue with importing or with the editor.
Looks like this is due to the category of the dialog field tag controls not existing on the appliance the dialog is being importing to. EC says we should bail in this case. GM, do you have opinions on how to handle this?
In 5.8 we still imported the dialog but without a selected tag category for that control. The user would be required to modify it after import. The same functionality would be required here.
I have a 5.8.3 appliance for reference here: https://10.8.199.27
Created attachment 1390290 [details] Tags_2 dialog export for testing
There are two problems: the editor won't load because https://github.com/ManageIQ/manageiq/blob/master/app/models/dialog_field_serializer.rb#L26 returns nil for non-valid categories, and the editor doesn't correctly save changed, valid categories. The first is solved by https://github.com/ManageIQ/manageiq/pull/16951. The second is an editor issue. If I create a new dialog with a tag control that has a category, save it, then edit that dialog and change the category, the new category will not save.
Marking this as post, bot doesn't seem to have noticed it, will create new BZ and link for the second issue in last comment.
https://bugzilla.redhat.com/show_bug.cgi?id=1542590 is the bug for the second issue
Fixed . verified in 5.10.0.19.20181009184346_1c8bf5d