Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5968

framework/images/webapp/images/fieldlookup.js throws a javascript error in google chrome from a link to ofbiz from another site

    Details

      Description

      When you link to your ofbiz installation from another site using _blank as the target and protocol is changing from http to https, google chrome will throw an error -
      Blocked a frame with origin "https://ofbiz.company.com" from accessing a frame with origin "http://other.company.com". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.

      This error may prevent other javascript from executing (this has caused, in our ofbiz installation, datetimepickers from working properly)

      The line number causing the issue is 687 as of revision 1652020

      1. fieldlookup.patch
        1 kB
        Gareth Carter

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Gareth,

        Your patch is in
        trunk r1652731
        R14.12 r1652732
        R13.07 r1652733
        R12.04 r1652735

        You used tabs instead of spaces, but since this file contains so much tabs wich were introduced by r1352861, I decided I will change that in all releases and trunk.

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Gareth, Your patch is in trunk r1652731 R14.12 r1652732 R13.07 r1652733 R12.04 r1652735 You used tabs instead of spaces, but since this file contains so much tabs wich were introduced by r1352861, I decided I will change that in all releases and trunk.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        BTW, I considered this a bug, so backported.

        Show
        jacques.le.roux Jacques Le Roux added a comment - BTW, I considered this a bug, so backported.

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            gareth.carter Gareth Carter
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development