Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2093

Mimetype issue with the mega Resource reader

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 4.1.6, 4.2.0
    • None
    • None
    • None

      If I have this

                  <map:match pattern="splashscreen_*.css">
                      <map:read type="resource" src="cocoon:/splashscreen_{1}.scss">
                          <map:parameter name="default-catalogue-id" value="workspace.web" />
                      </map:read>                
                  </map:match>
      

      I have the right mimetype
      but this

                  <map:match pattern="splashscreen_*.css">
                      <map:read type="resource" src="cocoon:/splashscreen_{1}.scss">
                          <map:parameter name="default-catalogue-id" value="workspace.web" />
                      </map:read>                
                  </map:match>
      

      should, but do not !

      the other pipeline is

                  <map:match pattern="splashscreen_*.scss">
                      <map:generate type="action-result">
                          <map:parameter name="color" value="{1}"/>
                      </map:generate>
                      <map:transform type="xslt" src="pages/splashscreen_scss.xsl"/>
                      <map:serialize type="text" mime-type="text/css"/>
                  </map:match>
      

            glefebvre Grégory Lefebvre (Inactive)
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: