You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (Updated) (JIRA)" <ji...@apache.org> on 2012/03/12 14:14:41 UTC

[jira] [Updated] (TAP5-1871) Tapestry should warn when a page imports the same asset via multiple JavaScriptStacks

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

Jochen Kemnade updated TAP5-1871:
---------------------------------

    Attachment: 0001-Throw-an-exception-if-an-asset-is-to-be-added-to-a-s.patch

Patch and test case
                
> Tapestry should warn when a page imports the same asset via multiple JavaScriptStacks
> -------------------------------------------------------------------------------------
>
>                 Key: TAP5-1871
>                 URL: https://issues.apache.org/jira/browse/TAP5-1871
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.2
>            Reporter: Jochen Kemnade
>            Priority: Minor
>         Attachments: 0001-Throw-an-exception-if-an-asset-is-to-be-added-to-a-s.patch
>
>
> When an asset is used in multiple stacks and a page imports those stacks, the asset is added to the page and - for JS assets - executed multiple times. It would be nice if Tapestry would detect this kind of "misconfiguration" and throw an exception or at least log a warning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira