Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-31635

web-resource pointing to no-existing file in jira-gadgets-plugin project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.2.7, 6.0-OD-08
    • 5.2.6
    • None

    Description

      Symptoms

      You'll find following warning in your atlassian-jira.log on system startup

      2013-02-08 08:46:23,659 ajp-bio-127.0.0.1-8119-exec-3 WARN my-user 526x70x5 dysyay 192.168.181.120 /s/en_USmjkoxr-418945332/849/6/5.2.6/_/download/batch/com.atlassian.jira.gadgets:autocomplete/com.atlassian.jira.gadgets:autocomplete.css [atlassian.plugin.servlet.AbstractDownloadableResource] Resource not found: Resource: /includes/ajs/layer/layer.css (null)
      

      Cause

      There is a dull reference in jira-gadgets-plugin in atlassian-plugins.xml file:

          <web-resource key="autocomplete">
              <dependency>com.atlassian.jira.gadgets:common-lite</dependency>
              <dependency>jira.webresources:autocomplete</dependency>
              <resource type="download" name="layer.css" location="/includes/ajs/layer/layer.css">
                  <param name="source" value="webContextStatic"/>
              </resource>
          </web-resource>
      

      In fact the file /includes/ajs/layer/layer.css has been refactored to layer.less file.

      Fix

      Fix the declaration in atlassian-plugin.xml file analogous to system-webresources-plugin.xml:

              <resource type="download" name="layer.css"
                        location="/includes/ajs/layer/${pdl.dir}layer.less">
                  <param name="source" value="webContextStatic"/>
              </resource>
      

      Do not know and do not bother to find out where comes ${pdl.dir}, but rest of the stuff should be the same

      Attachments

        Issue Links

          Activity

            People

              morzechowski Michal Orzechowski (Inactive)
              9dcf8b2bc0b1 Tanel Tenso
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: