[jboss-jira] [JBoss JIRA] Updated: (JBPORTAL-2082) ReadOnlyException - sample weather - jbp 2.7.0.ALPHA

ced ced (JIRA) jira-events at lists.jboss.org
Thu Jul 24 03:01:46 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBPORTAL-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ced ced updated JBPORTAL-2082:
------------------------------

          Component/s: Portal Samples
    Affects Version/s: 2.7.0 Alpha1


> ReadOnlyException - sample weather - jbp 2.7.0.ALPHA
> ----------------------------------------------------
>
>                 Key: JBPORTAL-2082
>                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2082
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Samples
>    Affects Versions: 2.7.0 Alpha1
>            Reporter: ced ced
>
> I test the sample weather with jbossportal 2.7.0.ALPHA, I change the zip code and I have this exception :
> I search in the source code and I looked in the class AbstractInstanceDefinition that the method getAccessMode() return always the read-only value.
> Why the class PersistentInstanceDefinition does not implement in this method getAccessMode() ?
> 2008-07-23 22:24:53,484 ERROR [STDERR] javax.portlet.ReadOnlyException: Key RssXml cannot be written
> 2008-07-23 22:24:53,484 ERROR [STDERR] 	at org.jboss.portal.portlet.impl.jsr168.api.PortletPreferenc
> esImpl.setValue(PortletPreferencesImpl.java:250)
> 2008-07-23 22:24:53,484 ERROR [STDERR] 	at org.jboss.portal.core.samples.weather.WeatherPortlet.proc
> essAction(WeatherPortlet.java:211)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl
> $Invoker.doFilter(PortletContainerImpl.java:557)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.
> doFilter(FilterChainImpl.java:109)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.
> doFilter(FilterChainImpl.java:72)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl
> .dispatch(PortletContainerImpl.java:505)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.portlet.container.ContainerPortletDispat
> cher.invoke(ContainerPortletDispatcher.java:42)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke
> (PortletInvokerInterceptor.java:82)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.core.aspects.portlet.TransactionIntercep
> tor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionI
> nterceptor.java:97)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.core.aspects.portlet.TransactionIntercep
> tor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N69
> 22078035659651697.java)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:
> 66)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(Tx
> Interceptor.java:112)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.portal.core.aspects.portlet.TransactionIntercep
> tor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N69
> 22078035659651697.java)
> 2008-07-23 22:24:53,500 ERROR [STDERR] 	at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:
> 66)	

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list