You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/06/20 23:57:45 UTC

[jira] Commented: (TAPESTRY-2460) a BeanEditor contributed through a Block to another BeanEditor creates StackOverflowException when submitted

    [ https://issues.apache.org/jira/browse/TAPESTRY-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606907#action_12606907 ] 

Howard M. Lewis Ship commented on TAPESTRY-2460:
------------------------------------------------

I'm getting slightly diffrerent results with my test, an exception when rendering:

java.lang.RuntimeException
There is no defined way to edit data of type 'null'. Make a contribution to the BeanBlockSource service for this type.

Stack trace

        * org.apache.tapestry5.internal.services.BeanBlockSourceImpl.getEditBlock(BeanBlockSourceImpl.java:64)
        * org.apache.tapestry5.corelib.components.PropertyEditor.beginRender(PropertyEditor.java:236)
        * org.apache.tapestry5.corelib.components.PropertyEditor.beginRender(PropertyEditor.java)


>From this template:

  <t:beaneditform object="parent" add="child">

       <parameter name="child">
           <t:beaneditor object="parent.child"/>
       </parameter>

   </t:beaneditform>

(I added the add parameter to BeanEditor and BeanEditForm).




> a BeanEditor contributed through a Block to another BeanEditor creates StackOverflowException when submitted
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-2460
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2460
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.13
>            Reporter: Kristian Marinkovic
>            Assignee: Howard M. Lewis Ship
>         Attachments: beaneditor.zip
>
>
> the eclipse/maven example project shows how a StackOverflowException is thrown if a Form is submitted that contains a BeanEditor that itself contains another BeanEditor. However the initial display works perfectly.
> somehow i suspect the PropertyConduits to be responsible because two of them produce the infinite loop.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org