Hi,
we had some issues concerning the "Close all tabs" window that opens in cms after clicking on "close all". If we try to save a document with empty required fields (which of course is not possible and leads to an error) and then want to return to our document by click on "Cancel" in the window, the cancel button won't be working.
We could reproduce this behaviour:
1.) hippo project:
mvn archetype:generate \
-DarchetypeGroupId=org.onehippo.cms7 \
-DarchetypeArtifactId=hippo-project-archetype \
-DarchetypeVersion=2.00.05 \
-DarchetypeRepository=
http://maven.onehippo.com/maven2in cms:
2.) create a document that contains a required field but leave the required field empty (= invalid)
3.) right click on the document's tab and choose "Close All"
-> the "Close all tabs" window opens
4.) click "Save All" (which of course leads to an error, since the document is not valid)
5.) now click "Cancel" (to get back to your document) /"Discard All"
-> nothing happens
-> only way to close the window is by click on "X"
6.) error log:
"Cancel button:"
[INFO] [talledLocalContainer] 27.04.2015 10:01:11 ERROR http-bio-8080-exec-5 [DefaultExceptionMapper.internalMap:129] Unexpected error occurred
[INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Component 'dialog:content:form:buttons:3:button' has been removed from page.
"Discard All" button:
[INFO] [talledLocalContainer] 27.04.2015 10:02:05 ERROR http-bio-8080-exec-8 [DefaultExceptionMapper.internalMap:129] Unexpected error occurred
[INFO] [talledLocalContainer] org.apache.wicket.WicketRuntimeException: Component 'dialog:content:form:buttons:1:button' has been removed from page.
thanks for any help!
Regards
MB