You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ulrich Stärk (JIRA)" <ji...@apache.org> on 2013/01/14 15:48:38 UTC

[jira] [Updated] (TAP5-797) Using "tapestry.combine-scripts" with an EmptyClientInfrastructure still adds an empty JavaScript file

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

Ulrich Stärk updated TAP5-797:
------------------------------

    Labels: bulk-close-candidate  (was: )

This issue has been last updated more than 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, 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.
                
> Using "tapestry.combine-scripts" with an EmptyClientInfrastructure still adds an empty JavaScript file
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-797
>                 URL: https://issues.apache.org/jira/browse/TAP5-797
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.1.0.5
>            Reporter: Carl Crowder
>            Priority: Minor
>              Labels: bulk-close-candidate
>         Attachments: check_no_script_tag_if_no_scripts.diff
>
>
> If you have "tapestry.combine-scripts" set to true, and override the ClientInfrastructure service to not add any assets, the DocumentLinkerImpl still inserts a SCRIPT tag into the document. The JavaScript it generates is empty except for a call to the Tapestry JavaScript object, which isn't part of the page anyway as no other JavaScript has been loaded.
> This a) causes a JavaScript error and b) adds unecessary HTTP requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira