Community
Participate
Working Groups
Build ID: COSMOS-1.0.0-200804270312 Steps To Reproduce: 1.Open http://localhost:8080/COSMOSUI under IE 2.select "Sample Repository with Registration",right click and select "Register Configuration items..." 3.Under Registration window, select "Sample Repository with Query" 4.After registration is successful, look into IE status bar for error message 5.Try to re-do registration, it won't show registration window Result: - From IE status bar it throws an error "this.domNode.style' is null or not an object" Also, on successful registration/deregistration, closing the window using 'X'-close button instead of OK button will throw some error message. This is observed on FireFox browser as well. More information:
This is also the case for the deregister scenario. The workaround is the user will have to refresh the page. Pushing to i11 since there is a workaround. Leonard can you investigate this problem.
Created attachment 102197 [details] Patch for 229109 Hi Leonard, I look at this problem and it seems that the dialog is not properly destroyed in the destroy method. For some reason I need to call the onCancel method on the dialog box and then in the create method I have to check if the dialog object is there. If it is there then I destroy the dialog. Can you try out the patch and see if it fixes the problem. If it does you can check in the patch and mark this bug as fixed.
Hi Leonard, I checked in my patch with another fix by accident. But I believe the patch fixes the problem. You can take the next development build and verify if it works for you.
The steps to reproduce are no longer relevant as the dialog has changed and has cleared up the problems here. But the problem of closing the dialog with the X button still remains. I tested the integration build Build ID: COSMOS-1.0.0-200806031210 and it has not fix this problem but the behaviour is slightly altered. Although the error message is no longer thrown, if you then try and open the dialog again it fails to show. I will investigate more.
The X close button was not connected to the onclick event. This has now been fixed and the dialog now closes correctly with either the cancel or X button.
Verified under build - COSMOS-1.0.0-200806231121, registration/deregistration,close-X button works fine.
Marked as closed based on previous comments.