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

Misleading error message in logs when accessing classpath assets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4
    • 5.4
    • None
    • 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

            hlship Howard Lewis Ship
            sdeby Serge Eby
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: