ICEfaces
  1. ICEfaces
  2. ICE-10589

mobile-showcase file uploads fail when using SSL server config.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Tomcat 7 with SSL configuration. IOS 7.x, android 4.4.2, IE 11, FF 34, Chrome 41 desktop browsers. showcase-mobile native demos
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      showcase-mobile demos that use file upload such as camera, camcorder, microphone fail when server is in SSL mode.
      Intially native demos would fail immediately with a modal block of page and the following console error.
      SCRIPT5: Access is denied.
      File: bridge-support.js.jsf, Line: 1061, Column: 1.
      Added this context-param in web.xml in order to get the pages to load
      <context-param>
              <param-name>org.icefaces.mobi.bridgeit.javaScriptURI</param-name>
              <param-value>https://api.bridgeit.mobi/bridgeit/v1.x-latest/bridgeit.js&lt;/param-value>
      </context-param>
      Pages would indeed load but on a desktop browser the camera demo fails when trying to upload image
      Blocked loading mixed active content "http://10.18.39.120:8443/showcase/javax.faces.resource/auxupload.txt.jsf"
      https://10.18.39.120:8443/showcase/javax.faces.resource/bridge.js.jsf?ln=ice.core&v=4_0_0_150324 line 2 > eval
      Line 334.
      On a mobile device, the camera, camcorder and microphone all fail in the same manner. Thumbnails where applicable are rendered but the full size image file can not be viewed.
      1. log1.txt
        15 kB
        Liana Munroe
      2. log2.txt
        11 kB
        Liana Munroe

        Issue Links

          Activity

          Liana Munroe created issue -
          Liana Munroe made changes -
          Field Original Value New Value
          Description showcase-mobile demos that use file upload such as camera, camcorder, microphone fail when server is in SSL mode.
          Intially no demos would fail immediately with a modal block of page and the following console error.
          SCRIPT5: Access is denied.
          File: bridge-support.js.jsf, Line: 1061, Column: 1.
          Added this context-param in web.xml in order to get the pages to load
          {code}<context-param>
                  <param-name>org.icefaces.mobi.bridgeit.javaScriptURI</param-name>
                  <param-value>https://api.bridgeit.mobi/bridgeit/v1.x-latest/bridgeit.js&lt;/param-value>
          </context-param>{code}
          Pages would indeed load but on a desktop browser the camera demo fails when trying to upload image
          Blocked loading mixed active content "http://10.18.39.120:8443/showcase/javax.faces.resource/auxupload.txt.jsf"
          https://10.18.39.120:8443/showcase/javax.faces.resource/bridge.js.jsf?ln=ice.core&v=4_0_0_150324 line 2 > eval
          Line 334.
          On a mobile device, the camera, camcorder and microphone all fail in the same manner. Thumbnails where applicable are rendered but the full size image file can not be viewed.
          showcase-mobile demos that use file upload such as camera, camcorder, microphone fail when server is in SSL mode.
          Intially no demos would fail immediately with a modal block of page and the following console error.
          SCRIPT5: Access is denied.
          File: bridge-support.js.jsf, Line: 1061, Column: 1.
          Added this context-param in web.xml in order to get the pages to load
          <context-param>
                  <param-name>org.icefaces.mobi.bridgeit.javaScriptURI</param-name>
                  <param-value>https://api.bridgeit.mobi/bridgeit/v1.x-latest/bridgeit.js&lt;/param-value>
          </context-param>
          Pages would indeed load but on a desktop browser the camera demo fails when trying to upload image
          Blocked loading mixed active content "http://10.18.39.120:8443/showcase/javax.faces.resource/auxupload.txt.jsf"
          https://10.18.39.120:8443/showcase/javax.faces.resource/bridge.js.jsf?ln=ice.core&v=4_0_0_150324 line 2 > eval
          Line 334.
          On a mobile device, the camera, camcorder and microphone all fail in the same manner. Thumbnails where applicable are rendered but the full size image file can not be viewed.
          Liana Munroe made changes -
          Description showcase-mobile demos that use file upload such as camera, camcorder, microphone fail when server is in SSL mode.
          Intially no demos would fail immediately with a modal block of page and the following console error.
          SCRIPT5: Access is denied.
          File: bridge-support.js.jsf, Line: 1061, Column: 1.
          Added this context-param in web.xml in order to get the pages to load
          <context-param>
                  <param-name>org.icefaces.mobi.bridgeit.javaScriptURI</param-name>
                  <param-value>https://api.bridgeit.mobi/bridgeit/v1.x-latest/bridgeit.js&lt;/param-value>
          </context-param>
          Pages would indeed load but on a desktop browser the camera demo fails when trying to upload image
          Blocked loading mixed active content "http://10.18.39.120:8443/showcase/javax.faces.resource/auxupload.txt.jsf"
          https://10.18.39.120:8443/showcase/javax.faces.resource/bridge.js.jsf?ln=ice.core&v=4_0_0_150324 line 2 > eval
          Line 334.
          On a mobile device, the camera, camcorder and microphone all fail in the same manner. Thumbnails where applicable are rendered but the full size image file can not be viewed.
          showcase-mobile demos that use file upload such as camera, camcorder, microphone fail when server is in SSL mode.
          Intially native demos would fail immediately with a modal block of page and the following console error.
          SCRIPT5: Access is denied.
          File: bridge-support.js.jsf, Line: 1061, Column: 1.
          Added this context-param in web.xml in order to get the pages to load
          <context-param>
                  <param-name>org.icefaces.mobi.bridgeit.javaScriptURI</param-name>
                  <param-value>https://api.bridgeit.mobi/bridgeit/v1.x-latest/bridgeit.js&lt;/param-value>
          </context-param>
          Pages would indeed load but on a desktop browser the camera demo fails when trying to upload image
          Blocked loading mixed active content "http://10.18.39.120:8443/showcase/javax.faces.resource/auxupload.txt.jsf"
          https://10.18.39.120:8443/showcase/javax.faces.resource/bridge.js.jsf?ln=ice.core&v=4_0_0_150324 line 2 > eval
          Line 334.
          On a mobile device, the camera, camcorder and microphone all fail in the same manner. Thumbnails where applicable are rendered but the full size image file can not be viewed.
          Ken Fyten made changes -
          Assignee Mircea Toma [ mircea.toma ]
          Fix Version/s EE-4.0.0.GA [ 11171 ]
          Assignee Priority P1 [ 10010 ]
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Liana Munroe made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Ken Fyten made changes -
          Assignee Mircea Toma [ mircea.toma ] Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Security Private [ 10001 ]
          Liana Munroe made changes -
          Attachment log1.txt [ 18980 ]
          Attachment log2.txt [ 18981 ]
          Ken Fyten made changes -
          Link This issue depends on MOBI-1132 [ MOBI-1132 ]
          Ken Fyten made changes -
          Link This issue depends on MOBI-1131 [ MOBI-1131 ]
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Affects Documentation (User Guide, Ref. Guide, etc.),Compatibility/Configuration [ 10003, 10002 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 4.1 [ 11375 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Ken Fyten
              Reporter:
              Liana Munroe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: