Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27143

Browsing for content using the new UDW doesn't allow the creating of the final destination

    Details

    • Type: Bug Bug
    • Status: Backlog
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 1.9.0
    • Fix Version/s: QA tracked issues
    • Labels:
    • Environment:

      Operating System: Debian 8
      PHP Version: 5.6.30-0+deb8u1
      Database and version: Mysql 5.5.54-0+deb8u1
      Browser (and version): Firefox 52
      Env: Prod

      Description

      Steps to Reproduce

      When we use the "content browse" and try to create a destiny location, this possibility doesn't work. More specifically:
      -Click "Content Browser" button
      -Select the "Create tab"
      -Select "folder" and click "Next" button
      -click "Confirm selection" button
      -Give the folder a name - might be "Folder1".
      -Click "Publish" button.
      Here we have a js error in developer tools

      TypeError: e.selection.content is undefined 1 _ezcombo:1987:17
      	Y.eZ.DiscoveryBarViewService<._navigateToLocation http://ezp.local/_ezcombo:1987:17
      	e.bind/< http://ezp.local/_ezcombo:8:1939
      	e.Subscriber.prototype._notify http://ezp.local/_ezcombo:17:43
      	e.Subscriber.prototype.notify http://ezp.local/_ezcombo:17:240
      	e.CustomEvent.prototype._notify http://ezp.local/_ezcombo:16:4255
      	e.CustomEvent.prototype._procSubs http://ezp.local/_ezcombo:16:4911
      	u.fireComplex http://ezp.local/_ezcombo:26:1400
      	e.CustomEvent.prototype._fire http://ezp.local/_ezcombo:16:4514
      	E.prototype.fire http://ezp.local/_ezcombo:17:5465
      	Y.cof.Plugin.CreateContentUniversalDiscovery<._closeDiscoveryWidget http://ezp.local/_ezcombo:142:13
      	e.Subscriber.prototype._notify http://ezp.local/_ezcombo:17:43
      	e.Subscriber.prototype.notify http://ezp.local/_ezcombo:17:240
      	e.CustomEvent.prototype._notify http://ezp.local/_ezcombo:16:4255
      	e.CustomEvent.prototype._procSubs http://ezp.local/_ezcombo:16:4911
      	u.fireComplex http://ezp.local/_ezcombo:26:1400
      	e.CustomEvent.prototype._fire http://ezp.local/_ezcombo:16:4514
      	e.CustomEvent.prototype.fire http://ezp.local/_ezcombo:16:4380
      	a.bubble http://ezp.local/_ezcombo:26:4330
      	a.bubble http://ezp.local/_ezcombo:26:4182
      	u.fireComplex http://ezp.local/_ezcombo:26:1531
      	e.CustomEvent.prototype._fire http://ezp.local/_ezcombo:16:4514
      	e.CustomEvent.prototype.fire http://ezp.local/_ezcombo:16:4380
      	a.bubble http://ezp.local/_ezcombo:26:4330
      	E.prototype.fire http://ezp.local/_ezcombo:17:5407
      	Y.cof.Plugin.CreateContentUniversalDiscoveryService<._loadContentLocation/< http://ezp.local/_ezcombo:2147:17
      	e.Model<.load/< http://ezp.local/_ezcombo:121:1343
      	XmlHttpRequestConnection.prototype.execute/XHR.onreadystatechange http://ezp.local/_ezcombo:1586:13
      

      The Folder was created, but from now on, the "View this content" button is already enabled, but every time the user clicks on it, the error above is displayed again and nothing happens.

        Issue Links

          Activity

          Show
          Stéphane Diot added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/840
          Hide
          Paulo Nunes (Inactive) added a comment -

          PR Verified by QA

          I'll send the issue back to dev so that the merge may proceed

          Show
          Paulo Nunes (Inactive) added a comment - PR Verified by QA I'll send the issue back to dev so that the merge may proceed
          Show
          Stéphane Diot added a comment - Merged in 1.9 : https://github.com/ezsystems/PlatformUIBundle/commit/272f4095bd172e95529def191f3c3fd023a4ed0c then reverted for tag process : https://github.com/ezsystems/PlatformUIBundle/commit/e52fac3e8711a9791ef68bf7a85849ac615264aa then reverted the revert ... : https://github.com/ezsystems/PlatformUIBundle/commit/463ba98840f64933432da1ae2ab61c9fc4f17ab7
          Hide
          Stéphane Diot added a comment - - edited

          It seems this fix is having some side effects on Studio. So I reverted it and it can be fixed in a more 'soft' way that it should not break Studio code.
          Roland Benedetti This was fixing the fact that 'Content Browse' and 'Content on the fly' were working together (that you mentionned in the release demo), I guess this should be prioritized and handled ASAP ?

          Show
          Stéphane Diot added a comment - - edited It seems this fix is having some side effects on Studio. So I reverted it and it can be fixed in a more 'soft' way that it should not break Studio code. Roland Benedetti This was fixing the fact that 'Content Browse' and 'Content on the fly' were working together (that you mentionned in the release demo), I guess this should be prioritized and handled ASAP ?

            People

            • Assignee:
              Stéphane Diot
              Reporter:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: