[KULRICE-9074] Dialog response inputs can stomp on each other Created: 04/Mar/13 Updated: 12/Aug/13 Resolved: 28/Mar/13
|Project:||Kuali Rice Development|
|Fix Version/s:||2.3.0-m1, 2.3|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Jerry Neal (Inactive)||Assignee:||Shannon Hess|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
|Include in Release Notes?:||
Dialog group uses form properties dialogResponse and dialogExplanation to generically store dialog input. When multiple dialogs are present on the same page they stomp on each other (since all dialogs point to the same property). These need to be changed to use maps where the key is the dialog group id
|Comment by Shannon Hess [ 27/Mar/13 ]|
I'm having issues with the implementation of this. I believe my property name is incorrect, but need some advice about what it should be. I have a meeting tomorrow with Jerry to discuss the issue.
Currently the way I have it set up it is working for the first call to the "predefined ok/cancel" dialog box and the correct answer is displayed in the text box (On the Dialog Test View). After the first call, the following error appears in the logs and the dialog box no longer appears when hitting the "predefined ok/cancel" button.
|Comment by Shannon Hess [ 28/Mar/13 ]|
I talked to Jerry about this, and after some discussion it turns out that this isn't an issue after all. dialogResponse and dialogExplanation are on the form, but there is also a DialogManager, which holds the answer and explanation for each dialog.
I'm going to go ahead and close this issue.
Change made locally to doSomething in DialogTestViewUifController to test this theory: