CMS: "Cancel" button in "Close all tabs" window not working (after trying to save invalid document)

31 views
Skip to first unread message

roboz.ki...@gmail.com

unread,
Apr 27, 2015, 4:54:41 AM4/27/15
to hippo-c...@googlegroups.com
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/maven2

in 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

Bert Leunis

unread,
May 4, 2015, 2:42:32 AM5/4/15
to hippo-c...@googlegroups.com
Hello,

You found a bug in the CMS, well spotted! I created an issue for it: https://issues.onehippo.com/browse/CMS7-9210

If you have an account for our jira (easily created), you can start watching the issue and follow its progress.


With kind regards/Met vriendelijke groet,
Bert Leunis

Amsterdam - Oosteinde 11, 1017 WT Amsterdam
Boston - 745 Atlantic Ave, Third Floor, MA 02111

US +1 877 414 4776
Europe +31(0)20 522 4466
www.onehippo.com

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

bayrak...@googlemail.com

unread,
May 4, 2015, 6:58:19 AM5/4/15
to hippo-c...@googlegroups.com
Hi Bert,

thanks a lot!
Reply all
Reply to author
Forward
0 new messages