You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2014/05/27 09:20:56 UTC

[jira] [Updated] (TAP5-1386) Marking page variables @Persist gives strange error message

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

Jochen Kemnade updated TAP5-1386:
---------------------------------

    Labels: bulk-close-candidate  (was: )

This issue has been last updated about 1.5 years ago, has no assignee, affects an old version of Tapestry that is not actively developed anymore, and is therefore prone to be bulk-closed in the near future.

If the issue still persists with the most recent development preview of Tapestry (5.4-beta-6, which is available from Maven Central), please update it as soon as possible. In the case of a feature request, please discuss it with the Tapestry developer community on the dev@tapestry.apache.org mailing list first.


> Marking page variables @Persist gives strange error message
> -----------------------------------------------------------
>
>                 Key: TAP5-1386
>                 URL: https://issues.apache.org/jira/browse/TAP5-1386
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Tnuspik
>            Priority: Trivial
>              Labels: bulk-close-candidate
>
> You cannot mark a page @Persist in 5.2:
> public class TestFile {
>     @Persist
>     private TestFile nextPage;
> }
> It gives this error: "java.lang.RuntimeException: Class application.pages.TestFile contains field(s) (_$resources) that are not private. You should change these fields to private, and add accessor methods if needed."
> Recommend changing the error message to something like "pages and components may not be persistent".



--
This message was sent by Atlassian JIRA
(v6.2#6252)