Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15966

Create new content button does not work in case XPages are used

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Invalid
    • 15.4.0, 15.6.0, 16.0.0
    • None
    • None

    Description

      Validation which is added to org.onehippo.cms.channelmanager.content.document.DocumentsServiceImpl#createDocument() method always fails in case XPages are used.

      if (!xPageSelection && folder.isNodeType(HippoStdNodeType.NT_XPAGE_FOLDER)) {
                      throw new BadRequestException(new ErrorInfo(Reason.FOLDER_IS_AN_X_PAGE_FOLDER));
       }
      

      xPageSelection attribute is always false in case when Content Button (tag) is used and there is no way to set it. This works when NavApp is used for example. An easy fix would be to add additional attribute (xPageSelection) to the Content Button tag.

      NOTE: bug is introduced in 15.4.0 version

      Attachments

        1. CMS-15966-per-add-page-button.png
          1.10 MB
          Jeroen Hoffman
        2. CMS-15966-per-manage-content-button.png
          1.02 MB
          Jeroen Hoffman

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmilicevic Marijan Milicevic
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: