Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-108864

Cannot save Image (in an editable) based on URL

    Details

      Description

      Expected:
      There is no error

      Actual:
      There is an error in the Browser console:

      react-dom.production.min.js:17 Uncaught SyntaxError: Unexpected token h in JSON at position 0
          at JSON.parse (<anonymous>)
          at ItemSelectorDialog.<anonymous> (openImageSelector.js:39)
          at ItemSelectorDialog.runListeners_ (EventEmitter.js:391)
          at ItemSelectorDialog.emit (EventEmitter.js:148)
          at component.visibleChange (ItemSelectorDialog.es.js:49)
          at Y.Subscriber._notify (event-custom-base.js:1306)
          at Y.Subscriber.notify (event-custom-base.js:1335)
          at Y.CustomEvent._notify (event-custom-base.js:998)
          at Y.CustomEvent._procSubs (event-custom-base.js:1124)
          at Y.CustomEvent.CEProto.fireComplex (event-custom-complex.js:223)
      (anonymous) @ openImageSelector.js:39
      runListeners_ @ EventEmitter.js:391
      emit @ EventEmitter.js:148
      visibleChange @ ItemSelectorDialog.es.js:49
      _notify @ event-custom-base.js:1306
      notify @ event-custom-base.js:1335
      _notify @ event-custom-base.js:998
      _procSubs @ event-custom-base.js:1124
      CEProto.fireComplex @ event-custom-complex.js:223
      _fire @ event-custom-base.js:1071
      fire @ event-custom-base.js:2204
      _fireAttrChange @ attribute-observable.js:181
      _setAttr @ attribute-core.js:684
      set @ attribute-observable.js:69
      hide @ widget-base.js:645
      close @ ItemSelectorDialog.es.js:26
      _onItemSelected @ ItemSelectorDialog.es.js:125
      _notify @ event-custom-base.js:1306
      notify @ event-custom-base.js:1335
      _notify @ event-custom-base.js:998
      _procSubs @ event-custom-base.js:1124
      CEProto.fireComplex @ event-custom-complex.js:223
      _fire @ event-custom-base.js:1071
      fire @ event-custom-base.js:2204
      handleSubmit @ ItemSelectorUrl.es.js:65
      ka @ react-dom.production.min.js:15
      qa @ react-dom.production.min.js:15
      ra @ react-dom.production.min.js:16
      wa @ react-dom.production.min.js:16
      Aa @ react-dom.production.min.js:17
      ya @ react-dom.production.min.js:17
      Ba @ react-dom.production.min.js:17
      Kd @ react-dom.production.min.js:81
      hb @ react-dom.production.min.js:285
      Qd @ react-dom.production.min.js:83
      Hc @ react-dom.production.min.js:84
      Pd @ react-dom.production.min.js:84
      exports.unstable_runWithPriority @ scheduler.production.min.js:18
      fg @ react-dom.production.min.js:120
      fb @ react-dom.production.min.js:285
      Nd @ react-dom.production.min.js:82
      Show 11 more frames
      

        Attachments

          Activity

            People

            • Assignee:
              yang.cao Yang Cao
              Reporter:
              ruben.pulido Ruben Pulido
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Engineering Assignee:
              Victor Galan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                31 weeks, 2 days ago

                Packages

                Version Package
                7.3.1 CE GA2
                7.3.2 CE GA3
                Master