Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE 1.3.0.GA_P01
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      n/a

      Description

      The CSSURLMapper used to parse the CSS and convert relative resource paths to JSF resource paths has several parsing errors and will output some invalid URLs.

      @font-face {
        font-family: 'FontAwesome';
        src: url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}');
        src: url('#{resource['org.icefaces.component.skins']}') format('embedded-opentype'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.woff']}') format('woff'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.ttf']}') format('truetype'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.svg']}') format('svg');
        font-weight: normal;
        font-style: normal;
      }

        Activity

        Philip Breau created issue -
        Philip Breau made changes -
        Field Original Value New Value
        Description The CSSURLMapper used to parse the CSS and convert relative resource paths to JSF resource paths has several parsing errors and will output some invalid URLs. The CSSURLMapper used to parse the CSS and convert relative resource paths to JSF resource paths has several parsing errors and will output some invalid URLs.

        @font-face {
          font-family: 'FontAwesome';
          src: url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}');
          src: url('#{resource['org.icefaces.component.skins']}') format('embedded-opentype'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.woff']}') format('woff'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.ttf']}') format('truetype'), url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.svg']}') format('svg');
          font-weight: normal;
          font-style: normal;
        }
        Philip Breau made changes -
        Assignee Steve Maryka [ steve.maryka ] Philip Breau [ philip.breau ]
        Hide
        Philip Breau added a comment -

        Revision: 39771
        Author: philip.breau
        Date: January-24-14 12:44:13 PM
        Message:
        MOBI-1001
        CSSURLMapping Issues

        • fix url mapper to handle URL query parameters

          Modified : /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java
          Modified : /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/UrlOccurrence.java

        Show
        Philip Breau added a comment - Revision: 39771 Author: philip.breau Date: January-24-14 12:44:13 PM Message: MOBI-1001 CSSURLMapping Issues fix url mapper to handle URL query parameters Modified : /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java Modified : /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/UrlOccurrence.java
        Philip Breau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.3.1 [ 11376 ]
        Resolution Fixed [ 1 ]
        Hide
        Philip Breau added a comment -

        Revision: 39772
        Author: philip.breau
        Date: January-24-14 12:47:53 PM
        Message:
        MOBI-1001
        CSSURLMapping Issues

        • fix url mapper to handle URL query parameters

          Modified : /icemobile/trunk/icemobile/lib
          Modified : /icemobile/trunk/icemobile/lib/generator/cssurlmapper.jar

        Show
        Philip Breau added a comment - Revision: 39772 Author: philip.breau Date: January-24-14 12:47:53 PM Message: MOBI-1001 CSSURLMapping Issues fix url mapper to handle URL query parameters Modified : /icemobile/trunk/icemobile/lib Modified : /icemobile/trunk/icemobile/lib/generator/cssurlmapper.jar
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39771 Fri Jan 24 09:44:13 MST 2014 philip.breau MOBI-1001
        CSSURLMapping Issues
        - fix url mapper to handle URL query parameters
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/UrlOccurrence.java
        Hide
        Philip Breau added a comment -

        Revision: 39773
        Author: philip.breau
        Date: January-24-14 12:51:30 PM
        Message:
        MOBI-1001
        CSSURLMapping Issues

        • fix url mapper to handle URL query parameters

          Modified : /icefaces4/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java

        Show
        Philip Breau added a comment - Revision: 39773 Author: philip.breau Date: January-24-14 12:51:30 PM Message: MOBI-1001 CSSURLMapping Issues fix url mapper to handle URL query parameters Modified : /icefaces4/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39772 Fri Jan 24 09:47:53 MST 2014 philip.breau MOBI-1001
        CSSURLMapping Issues
        - fix url mapper to handle URL query parameters
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/lib/generator/cssurlmapper.jar
        Commit graph MODIFY /icemobile/trunk/icemobile/lib
        Hide
        Philip Breau added a comment -

        after fix:

        @font-face {
        font-family: 'FontAwesome';
        src: url('#

        {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}');
        src: url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}

        ?#iefix') format('embedded-opentype'), url('#

        {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.woff']}

        ') format('woff'), url('#

        {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.ttf']}

        ') format('truetype'), url('#

        {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.svg']}

        ') format('svg');
        font-weight: normal;
        font-style: normal;
        }

        Show
        Philip Breau added a comment - after fix: @font-face { font-family: 'FontAwesome'; src: url('# {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']}'); src: url('#{resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.eot']} ?#iefix') format('embedded-opentype'), url('# {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.woff']} ') format('woff'), url('# {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.ttf']} ') format('truetype'), url('# {resource['org.icefaces.component.skins/android_dark/fontawesome-webfont.svg']} ') format('svg'); font-weight: normal; font-style: normal; }
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39773 Fri Jan 24 09:51:30 MST 2014 philip.breau MOBI-1001
        CSSURLMapping Issues
        - fix url mapper to handle URL query parameters
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/tools/cssurlmapper/src/org/icefaces/ace/util/cssurlmapper/CssUrlMapper.java
        Hide
        Philip Breau added a comment -

        Following warnings are also resolved:

        Mime-type warnings Hi Philip.
        Just wondering if you want a jira for this (from icemobile trunk):-
        WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins/android_light/fontawesome-webfont.eot?#iefix. To resolve this, add a mime-type mapping to the applications web.xml.
        Jan 10, 2014 2:00:46 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
        WARNING: JSF1064: Unable to find or serve resource, org.icefaces.component.skins/android_light/fontawesome-webfont.eot?#iefix.

        I get other warnings when using the fedex snapshot branch but it doesn’t occur with the trunk.
        Jan 10, 2014 2:32:51 PM com.sun.faces.context.ExternalContextImpl getMimeType
        WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins. To resolve this, add a mime-type mapping to the applications web.xml.
        Jan 10, 2014 2:32:51 PM com.sun.faces.context.ExternalContextImpl getMimeType
        WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins. To resolve this, add a mime-type mapping to the applications web.xml.

        Show
        Philip Breau added a comment - Following warnings are also resolved: Mime-type warnings Hi Philip. Just wondering if you want a jira for this (from icemobile trunk):- WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins/android_light/fontawesome-webfont.eot?#iefix. To resolve this, add a mime-type mapping to the applications web.xml. Jan 10, 2014 2:00:46 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource WARNING: JSF1064: Unable to find or serve resource, org.icefaces.component.skins/android_light/fontawesome-webfont.eot?#iefix. I get other warnings when using the fedex snapshot branch but it doesn’t occur with the trunk. Jan 10, 2014 2:32:51 PM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins. To resolve this, add a mime-type mapping to the applications web.xml. Jan 10, 2014 2:32:51 PM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file org.icefaces.component.skins. To resolve this, add a mime-type mapping to the applications web.xml.

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: