Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02
-
Fix Version/s: EE-3.3.0.GA_P03, 4.1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:Tomcat 7, ICEfaces EE-3.3.0.GA_P03 tag r44639, all browsers. DeltaSubmit=true
-
Assignee Priority:P2
Description
showcaseSubmitMonitor > Overview (Delta Submit= true specific)
When the value of "What to block" is set to Configuration and Demonstration Panels the submitMonitor does not render when pressing the Submit button a second or subsequent times.
To reproduce:
1.) Build showcase with deltaSubmit=true.
2.) Navigate to SubmitMonitor > Overview
3.) Set the "What to block" selection to "Configuration and Demonstration Panels"
4.) Press the Submit button in the demonstration Panel. The submitMonitor displays as expected.
5.) Press the Submit button again, the submitMonitor no longer displays.
When the value of "What to block" is set to Configuration and Demonstration Panels the submitMonitor does not render when pressing the Submit button a second or subsequent times.
To reproduce:
1.) Build showcase with deltaSubmit=true.
2.) Navigate to SubmitMonitor > Overview
3.) Set the "What to block" selection to "Configuration and Demonstration Panels"
4.) Press the Submit button in the demonstration Panel. The submitMonitor displays as expected.
5.) Press the Submit button again, the submitMonitor no longer displays.
Ok, that's what I thought. Actually that's not really an issue per se, it's just the fact that the submit monitor takes some time to uninstall/install itself on the page. All the callbacks of the previous submit monitor have to finish executing before handing off control to the new incarnation of the component, which has to do its own set-up, involving modifying the submit function in the bridge and registering a bunch of callbacks that are executed before and after submitting and after the update is completed. So, it's actually not the case that you have to click the button twice for the submit monitor to work at first. If you just wait long enough for the component to rebuild itself in the client (e.g. 3 seconds) right after changing any of the settings in the Configuration Panel, the submit monitor will be activated the first time you click the button. Because in a real-world scenario it wouldn't be likely that the submit monitor change dynamically at the user's request, this can't be considered as an issue, and this JIRA will be marked as fixed.