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

Misleading error message in logs when accessing classpath assets

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: None
    • Labels:
      None

      Description

      When using Bootstrap responsive CSS as shown below:

      @Import( stack =

      { InternalConstants.CORE_STACK_NAME }

      ,
      stylesheet = {"${tapestry.bootstrap-root}/css/bootstrap-responsive.css", "context:styles/style.css"}
      )
      public class Layout {

      ..
      }

      I see the following error in the logs:

      ERROR [qtp144953150-35] AssetSource.getComponentAsset(172) | Classpath asset '/META-INF/assets/tapestry5/bootstrap_2_1_1/css/bootstrap-responsive.css' should be moved to folder '/META-INF/assets/META-INF/assets/tapestry5/bootstrap_2_1_1/css/'.

      This seems to suggest prepending an extra /META-INF/assets for items already located under the expected folder.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              sdeby Serge Eby
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: