Re: Editing a plugin announcement doesn't work
Generates an error? What error? Do you have edit rights? Please provide actionable information. Dave On Wed, Jun 6, 2012 at 7:59 AM, Rees Byars reesby...@gmail.com wrote: From the plugin page (https://cwiki.apache.org/S2PLUGINS/home.html), if I click on an announcement blog post and then click edit, it generates an error. I wanted to edit an announcement, but it doesn't seem possible for me. Not a major issue to me, so no worries if it doesn't get addressed. Regards, Rees
Re: Editing a plugin announcement doesn't work
Sure Dave, sorry I didn't include better information before. I've attached a screenshot of the page that is generated. As far as my permissions go, I don't know what they are exactly, but I know that I can edit most other pages, and I created the announcement. The steps to recreate the error are: 1) Go to https://cwiki.apache.org/S2PLUGINS/home.html 2) Click on one of the Announcement Blog Posts listed on the page 3) From the blog post page, click Edit Page in the top right-hand corner Thanks, Rees On Wed, Jun 6, 2012 at 8:03 AM, Dave Newton davelnew...@gmail.com wrote: Generates an error? What error? Do you have edit rights? Please provide actionable information. Dave On Wed, Jun 6, 2012 at 7:59 AM, Rees Byars reesby...@gmail.com wrote: From the plugin page (https://cwiki.apache.org/S2PLUGINS/home.html), if I click on an announcement blog post and then click edit, it generates an error. I wanted to edit an announcement, but it doesn't seem possible for me. Not a major issue to me, so no worries if it doesn't get addressed. Regards, Rees - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: Editing a plugin announcement doesn't work
Hmm, my off-the-top-of-my-head guess is this is due to a Confluence upgrade, but I neither know anything about that, nor could I do anything about it if I did. Anyone? d. For reference: java.lang.ClassCastException: com.atlassian.confluence.pages.BlogPost cannot be cast to com.atlassian.confluence.pages.Page at com.atlassian.confluence.pages.actions.EditPageAction.doDefault(EditPageAction.java:134) at sun.reflect.GeneratedMethodAccessor1837.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:49) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:23) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) On Wed, Jun 6, 2012 at 10:10 AM, Rees Byars reesby...@gmail.com wrote: Sure Dave, sorry I didn't include better information before. I've attached a screenshot of the page that is generated. As far as my permissions go, I don't know what they are exactly, but I know that I can edit most other pages, and I created the announcement. The steps to recreate the error are: 1) Go to https://cwiki.apache.org/S2PLUGINS/home.html 2) Click on one of the Announcement Blog Posts listed on the page 3) From the blog post page, click Edit Page in the top right-hand corner Thanks, Rees On Wed, Jun 6, 2012 at 8:03 AM, Dave Newton davelnew...@gmail.com wrote: Generates an error? What error? Do you have edit rights? Please provide actionable information. Dave On Wed, Jun 6, 2012 at 7:59 AM, Rees Byars reesby...@gmail.com wrote: From the plugin page (https://cwiki.apache.org/S2PLUGINS/home.html), if I click on an announcement blog post and then click edit, it generates an error. I wanted to edit an announcement, but it doesn't seem possible for me. Not a major issue to me, so no worries if it doesn't get addressed. Regards, Rees - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
RE: Editing a plugin announcement doesn't work
possibly version mismatch on one of your dependent jars..i would try contacting1)atlassian 2)maven users group Martin- ___ ...extensive disclaimer goes here... Date: Wed, 6 Jun 2012 10:20:58 -0400 Subject: Re: Editing a plugin announcement doesn't work From: davelnew...@gmail.com To: dev@struts.apache.org Hmm, my off-the-top-of-my-head guess is this is due to a Confluence upgrade, but I neither know anything about that, nor could I do anything about it if I did. Anyone? d. For reference: java.lang.ClassCastException: com.atlassian.confluence.pages.BlogPost cannot be cast to com.atlassian.confluence.pages.Page at com.atlassian.confluence.pages.actions.EditPageAction.doDefault(EditPageAction.java:134) at sun.reflect.GeneratedMethodAccessor1837.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:302) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:170) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:49) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:23) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) On Wed, Jun 6, 2012 at 10:10 AM, Rees Byars reesby...@gmail.com wrote: Sure Dave, sorry I didn't include better information before. I've attached a screenshot of the page that is generated. As far as my permissions go, I don't know what they are exactly, but I know that I can edit most other pages, and I created the announcement. The steps to recreate the error are: 1) Go to https://cwiki.apache.org/S2PLUGINS/home.html 2) Click on one of the Announcement Blog Posts listed on the page 3) From the blog post page, click Edit Page in the top right-hand corner Thanks, Rees On Wed, Jun 6, 2012 at 8:03 AM, Dave Newton davelnew...@gmail.com wrote: Generates an error? What error? Do you have edit rights? Please provide actionable information. Dave On Wed, Jun 6, 2012 at 7:59 AM, Rees Byars reesby...@gmail.com wrote: From the plugin page (https://cwiki.apache.org/S2PLUGINS/home.html), if I click on an announcement blog post and then click edit, it generates an error. I wanted to edit an announcement, but it doesn't seem possible for me. Not a major issue to me, so no worries if it doesn't get addressed. Regards, Rees - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Struts 2 losing timestamp in java.util.Date when validation failed
I have a form with java.util.Date (createTimestmp) and it has both date time. createTimestmp is an hidden field on the form. When I fetch record from database it has 5/17/12 12:58:33 PM.688 as value. If I change something on the form and if validation is GOOD, then creatTimestmp value is retained to the original value. That is, its still 5/17/12 12:58:33 PM.688. But if the validation fails, and user goes to input form again, then createTimestmp value changes to 5/17/12. The timestamp is missing. Looks like a bug to me in struts 2. Why is struts 2 dropping timestamp on INPUT result...? Can someone please help. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: Struts 2 losing timestamp in java.util.Date when validation failed
And the JSP? On Wed, Jun 6, 2012 at 12:18 PM, s srrem...@excite.com wrote: I have a form with java.util.Date (createTimestmp) and it has both date time. createTimestmp is an hidden field on the form. When I fetch record from database it has 5/17/12 12:58:33 PM.688 as value. If I change something on the form and if validation is GOOD, then creatTimestmp value is retained to the original value. That is, its still 5/17/12 12:58:33 PM.688. But if the validation fails, and user goes to input form again, then createTimestmp value changes to 5/17/12. The timestamp is missing. Looks like a bug to me in struts 2. Why is struts 2 dropping timestamp on INPUT result...? Can someone please help. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org
Re: Struts 2 losing timestamp in java.util.Date when validation failed
On Wed, Jun 6, 2012 at 9:18 AM, s srrem...@excite.com wrote: I have a form with java.util.Date (createTimestmp) and it has both date time. createTimestmp is an hidden field on the form. When I fetch record from database it has 5/17/12 12:58:33 PM.688 as value. This is a question about using Struts, and should therefore be directed to the User list. The Dev list is for discussion of the development of the Struts framework itself. -- Martin Cooper If I change something on the form and if validation is GOOD, then creatTimestmp value is retained to the original value. That is, its still 5/17/12 12:58:33 PM.688. But if the validation fails, and user goes to input form again, then createTimestmp value changes to 5/17/12. The timestamp is missing. Looks like a bug to me in struts 2. Why is struts 2 dropping timestamp on INPUT result...? Can someone please help. - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org