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

Can't edit message threads through Asset Publisher

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Message Boards
    • Labels:
      None

      Description

      Steps to Reproduce

      1. Start Liferay and sign in as an admin user
      2. On the home page, add a Message Board portlet and an Asset Publisher portlet
      3. In the Message Board portlet, create a new thread called "Test"
      4. See that the Asset Publisher portlet now displays the new thread post
      5. Click on the pencil button icon next to the thread
      6. The user is led to another page that says "Edit Test"

       Expected Behavior: The user is able to edit to the Message Board post successfully.

       Actual Behavior: When the user clicks 'Publish,' nothing happens. The user also sees the following browser error in the console:

      liferay-amd-loader | Errors returned from server for require( Array(13) [ "metal-dom/src/all/dom", "frontend-js-web/liferay/toast/commands/OpenToast.es", "portal-template-react-renderer-impl@5.0.0/render.es", "frontend-editor-ckeditor-web@5.0.0/editor/ClassicEditor", "portal-template-react-renderer-impl@5.0.0/render.es", "asset-taglib@6.0.0/asset_categories_selector/AssetCategoriesSelectorTag.es", "portal-template-react-renderer-impl@5.0.0/render.es", "asset-taglib@6.0.0/asset_tags_selector/AssetTagsSelectorTag.es", "asset-publisher-web@5.0.0/message_boards/js/MBPortlet.es", "portal-template-react-renderer-impl@5.0.0/render.es", ... ] ): Array [ "Missing required module 'asset-publisher-web@5.0.0/message_boards/js/MBPortlet.es'" ] combo:482:431
      
      liferay-amd-loader | 
       A require() call has failed but no failure handler was provided.
       Note that even if the call stack of this error trace looks like coming from the Liferay AMD Loader, it is not an error in the Loader what has caused it, but an error caused by the require() call.
       The reason why the Loader is in the stack trace is because it is printing the error so that it doesn't get lost.
       However, we recommend providing a failure handler in all require() calls to be able to recover from errors better and to avoid the appearance of this message.
       
       Some information about the require() call follows:
         -  Require call id: 59 
         -  Required modules: Array(13) [ "metal-dom/src/all/dom", "frontend-js-web/liferay/toast/commands/OpenToast.es", "portal-template-react-renderer-impl@5.0.0/render.es", "frontend-editor-ckeditor-web@5.0.0/editor/ClassicEditor", "portal-template-react-renderer-impl@5.0.0/render.es", "asset-taglib@6.0.0/asset_categories_selector/AssetCategoriesSelectorTag.es", "portal-template-react-renderer-impl@5.0.0/render.es", "asset-taglib@6.0.0/asset_tags_selector/AssetTagsSelectorTag.es", "asset-publisher-web@5.0.0/message_boards/js/MBPortlet.es", "portal-template-react-renderer-impl@5.0.0/render.es", ... ] 
         -  Missing modules: (n/a) 
         -  Stack trace of the require() call: 
              value@http://localhost:8080/combo?browserId=firefox&minifierType=js&languageId=en_US&b=7400&t=1605121515973&/o/frontend-js-aui-web/aui/aui/aui.js&/o/frontend-js-aui-web/liferay/modules.js&/o/frontend-js-aui-web/liferay/aui_sandbox.js&/o/frontend-js-aui-web/aui/attribute-base/attribute-base.js&/o/frontend-js-aui-web/aui/attribute-complex/attribute-complex.js&/o/frontend-js-aui-web/aui/attribute-core/attribute-core.js&/o/frontend-js-aui-web/aui/attribute-observable/attribute-observable.js&/o/frontend-js-aui-web/aui/attribute-extras/attribute-extras.js&/o/frontend-js-aui-web/aui/event-custom-base/event-custom-base.js&/o/frontend-js-aui-web/aui/event-custom-complex/event-custom-complex.js&/o/frontend-js-aui-web/aui/oop/oop.js&/o/frontend-js-aui-web/aui/aui-base-lang/aui-base-lang.js&/o/frontend-js-aui-web/liferay/dependency.js&/o/frontend-js-aui-web/liferay/util.js&/o/frontend-js-web/loader/config.js&/o/frontend-js-web/loader/loader.js&/o/frontend-js-web/liferay/dom_task_runner.js... 
       TypeError: e is undefined    value http://localhost:8080/combo?browserId=firefox&minifierType=js&languageId=en_US&b=7400&t=1605121515973&/o/frontend-js-aui-web/aui/aui/aui.js&/o/frontend-js-aui-web/liferay/modules.js&/o/frontend-js-aui-web/liferay/aui_sandbox.js&/o/frontend-js-aui-web/aui/attribute-base/attribute-base.js&/o/frontend-js-aui-web/aui/attribute-complex/attribute-complex.js&/o/frontend-js-aui-web/aui/attribute-core/attribute-core.js&/o/frontend-js-aui-web/aui/attribute-observable/attribute-observable.js&/o/frontend-js-aui-web/aui/attribute-extras/attribute-extras.js&/o/frontend-js-aui-web/aui/event-custom-base/event-custom-base.js&/o/frontend-js-aui-web/aui/event-custom-complex/event-custom-complex.js&/o/frontend-js-aui-web/aui/oop/oop.js&/o/frontend-js-aui-web/aui/aui-base-lang/aui-base-lang.js&/o/frontend-js-aui-web/liferay/dependency.js&/o/frontend-js-aui-web/liferay/util.js&/o/frontend-js-web/loader/config.js&/o/frontend-js-web/loader/loader.js&/o/frontend-js-web/liferay/dom_task_runner.js&/o/frontend-js-web/liferay/events.js&/o/frontend-js-web/liferay/lazy_load.js&/o/frontend-js-web/liferay/liferay.js&/o/frontend-js-web/liferay/global.bundle.js&/o/frontend-js-web/liferay/portlet.js&/o/frontend-js-web/liferay/workflow.js:507    value http://localhost:8080/combo?browserId=firefox&minifierType=js&languageId=en_US&b=7400&t=1605121515973&/o/frontend-js-aui-web/aui/aui/aui.js&/o/frontend-js-aui-web/liferay/modules.js&/o/frontend-js-aui-web/liferay/aui_sandbox.js&/o/frontend-js-aui-web/aui/attribute-base/attribute-base.js&/o/frontend-js-aui-web/aui/attribute-complex/attribute-complex.js&/o/frontend-js-aui-web/aui/attribute-core/attribute-core.js&/o/frontend-js-aui-web/aui/attribute-observable/attribute-observable.js&/o/frontend-js-aui-web/aui/attribute-extras/attribute-extras.js&/o/frontend-js-aui-web/aui/event-custom-base/event-custom-base.js&/o/frontend-js-aui-web/aui/event-custom-complex/event-custom-complex.js&/o/frontend-js-aui-web/aui/oop/oop.js&/o/frontend-js-aui-web/aui/aui-base-lang/aui-base-lang.js&/o/frontend-js-aui-web/liferay/dependency.js&/o/frontend-js-aui-web/liferay/util.js&/o/frontend-js-web/loader/config.js&/o/frontend-js-web/loader/loader.js&/o/frontend-js-web/liferay/dom_task_runner.js&/o/frontend-js-web/liferay/events.js&/o/frontend-js-web/liferay/lazy_load.js&/o/frontend-js-web/liferay/liferay.js&/o/frontend-js-web/liferay/global.bundle.js&/o/frontend-js-web/liferay/portlet.js&/o/frontend-js-web/liferay/workflow.js:507    value http://localhost:8080/combo?browserId=firefox&minifierType=js&languageId=en_US&b=7400&t=1605121515973&/o/frontend-js-aui-web/aui/aui/aui.js&/o/frontend-js-aui-web/liferay/modules.js&/o/frontend-js-aui-web/liferay/aui_sandbox.js&/o/frontend-js-aui-web/aui/attribute-base/attribute-base.js&/o/frontend-js-aui-web/aui/attribute-complex/attribute-complex.js&/o/frontend-js-aui-web/aui/attribute-core/attribute-core.js&/o/frontend-js-aui-web/aui/attribute-observable/attribute-observable.js&/o/frontend-js-aui-web/aui/attribute-extras/attribute-extras.js&/o/frontend-js-aui-web/aui/event-custom-base/event-custom-base.js&/o/frontend-js-aui-web/aui/event-custom-complex/event-custom-complex.js&/o/frontend-js-aui-web/aui/oop/oop.js&/o/frontend-js-aui-web/aui/aui-base-lang/aui-base-lang.js&/o/frontend-js-aui-web/liferay/dependency.js&/o/frontend-js-aui-web/liferay/util.js&/o/frontend-js-web/loader/config.js&/o/frontend-js-web/loader/loader.js&/o/frontend-js-web/liferay/dom_task_runner.js&/o/frontend-js-web/liferay/events.js&/o/frontend-js-web/liferay/lazy_load.js&/o/frontend-js-web/liferay/liferay.js&/o/frontend-js-web/liferay/global.bundle.js&/o/frontend-js-web/liferay/portlet.js&/o/frontend-js-web/liferay/workflow.js:500
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeremy.chen Jeremy Chen
              Reporter:
              noor.najjar Noor Najjar
              Participants of an Issue:
              Recent user:
              Jeremy Chen
              Engineering Assignee:
              Noor Najjar
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  Master