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

"Unknown prefix for asset path" exception when using framework stylesheet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 5.4
    • None
    • tapestry-core
    • None

    Description

      I have a stylesheet that has the following instruction:

      background-image: url("about:blank#th-3-3-3-3-1-1-1-1-2-2-2-2");

      This line causes the exception:

      Unknown prefix for asset path 'about:blank#th-3-3-3-3-1-1-1-1-2-2-2-2'.

      org.apache.tapestry5.internal.services.AssetSourceImpl.findResource(AssetSourceImpl.java:242)
      org.apache.tapestry5.internal.services.AssetSourceImpl.getAssetInLocale(AssetSourceImpl.java:215)
      ...

      This started occurring in 5.4-alpha-4, I think it's because Tapestry assumes it is an asset, when this is really a CSS trick.

      Attachments

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              omarc Omar Carvajal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: