Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-4260

BitbucketPatch object not available when loading changeset page through iframe (BB-4566)

    XMLWordPrintable

Details

    Description

      When using an iframe to load a changeset page the diff is not shown because of JavaScript errors. I'm using Git with VersionOne, an agile project management tool, and it uses iframes to display the changeset page from Bitbucket. The page from Bitbucket appears the same as when accessing it directly except there aren't any diffs shown.

      Using Firebug, the following JavaScript errors are reported:

      {{{
      Permission denied to access property 'href'
      ...trigger("diff-load-end",[u]);u=k.split(h.DELIMITER);k=u[3].split(d.DELIMITER);u=...
      bundle.js (line 1106)
      }}}

      {{

      {\\ BitbucketPatch is not defined\\ new BitbucketPatch(diffs, deferred).render($compare);\\ de6ca4...da2fba7 (line 805)\\ }}

      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            8ff005f886f8 tetsuo13
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: