Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1109

Support non-standard user agents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.8-core, 1.2.8-core
    • 1.0.11-core, 1.2.12-core
    • Skinning
    • None
    • User agent string: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko)

    Description

      Trinidad should be able to render the request for non-supported user agents.
      Since 1.x.9 version, user agent's version is mandatory.
      If user agent is not recognized and its version is not set, exceptions are thrown:
      1) on initial request - "version must be non-null" NPE in org.apache.myfaces.trinidad.context.Version._checkNonEmptyString(Version.java:197)
      2) on subsequent requests - NPE in org.apache.myfaces.trinidadinternal.style.cache.FileSystemStyleCache$Key.hashCode(FileSystemStyleCache.java:1131)

      The proposed policy is to provide "default" rendering for those agent's that are not recognized/partially recognized (agent type or platform identified, but not version etc).

      Attachments

        Issue Links

          Activity

            People

              arobinson74 Andrew Robinson
              alyst Alexey Stukalov
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: