Tapestry
  1. Tapestry
  2. TAPESTRY-952

Resources defined in dojo's css cannot be served

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1
    • Component/s: Framework
    • Labels:
      None

      Description

      Many dojo widgets define their own css which in turn can reference other resources, i.e.
      background-image: url(grabCorner.gif);

      The requested url for those resources is problematic and the asset service cannot serve it, throwing
      org.apache.hivemind.ApplicationRuntimeException: Classpath resource '/org/apache/tapestry/html/dojo/src/widget/templates/HtmlResizeHandle.cssgrabCorner.gif' does not exist.
      org.apache.tapestry.asset.AssetService.service(AssetService.java:228)

        Issue Links

          Activity

          Andreas Andreou created issue -
          Jesse Kuhnert made changes -
          Field Original Value New Value
          Assignee Jesse Kuhnert [ jkuhnert ]
          Hide
          Jesse Kuhnert added a comment -

          Ok. I had to do one local patch to dojo.uri.Uri already to help with this, I think I can get a fix in for it later today.

          Show
          Jesse Kuhnert added a comment - Ok. I had to do one local patch to dojo.uri.Uri already to help with this, I think I can get a fix in for it later today.
          Hide
          Andreas Andreou added a comment -

          Changing those includes to
          background-image: url(/../grabCorner.gif);
          does the trick.

          Show
          Andreas Andreou added a comment - Changing those includes to background-image: url(/../grabCorner.gif); does the trick.
          Hide
          Jesse Kuhnert added a comment -

          Fixed

          Show
          Jesse Kuhnert added a comment - Fixed
          Jesse Kuhnert made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Andreas Andreou made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Andreas Andreou made changes -
          Link This issue is related to TAPESTRY-1061 [ TAPESTRY-1061 ]
          Mark Thomas made changes -
          Workflow jira [ 12372025 ] Default workflow, editable Closed status [ 12567763 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12567763 ] jira [ 12590891 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          25d 10h 32m 1 Jesse Kuhnert 11/Jun/06 09:55
          Resolved Resolved Closed Closed
          2d 15h 4m 1 Andreas Andreou 14/Jun/06 00:59

            People

            • Assignee:
              Jesse Kuhnert
              Reporter:
              Andreas Andreou
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development