Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1871

Tapestry should warn when a page imports the same asset via multiple JavaScriptStacks

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.3.2, 5.3.3, 5.4
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jkemnade Jochen Kemnade
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: