You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Alex Lumpov (JIRA)" <ji...@apache.org> on 2009/10/23 13:17:59 UTC

[jira] Updated: (TAP5-907) BeanModelImpl.reorder

     [ https://issues.apache.org/jira/browse/TAP5-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Lumpov updated TAP5-907:
-----------------------------

    Description: 
I have MyBean with rw and read-only properties (without set method).
MyBean have @ReorderProperties annotation (it include read-only properties).
When BeanModelSourceImpl creates display model everything is fine.
When BeanModelSourceImpl creates edit model I saw exception:

org.apache.tapestry5.internal.beaneditor.BeanModelImpl.get(BeanModelImpl.java:152)
org.apache.tapestry5.internal.beaneditor.BeanModelImpl.reorder(BeanModelImpl.java:213) 

because BeanModelImpl.reorder try to get property that not exists.


  was:
I have MyBean with read-only properties (without set method).
MyBean have @ReorderProperties annotation (it include read-only properties).
When BeanModelSourceImpl creates display model everything is fine.
When BeanModelSourceImpl creates edit model I saw exception:

org.apache.tapestry5.internal.beaneditor.BeanModelImpl.get(BeanModelImpl.java:152)
org.apache.tapestry5.internal.beaneditor.BeanModelImpl.reorder(BeanModelImpl.java:213) 

because BeanModelImpl.reorder try to get property that not exists.



> BeanModelImpl.reorder
> ---------------------
>
>                 Key: TAP5-907
>                 URL: https://issues.apache.org/jira/browse/TAP5-907
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Alex Lumpov
>
> I have MyBean with rw and read-only properties (without set method).
> MyBean have @ReorderProperties annotation (it include read-only properties).
> When BeanModelSourceImpl creates display model everything is fine.
> When BeanModelSourceImpl creates edit model I saw exception:
> org.apache.tapestry5.internal.beaneditor.BeanModelImpl.get(BeanModelImpl.java:152)
> org.apache.tapestry5.internal.beaneditor.BeanModelImpl.reorder(BeanModelImpl.java:213) 
> because BeanModelImpl.reorder try to get property that not exists.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.