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

wikipages doesn't accept the exposed encodingFormat for updating

    Details

      Description

      When updating a wikipage through an API, the API is returning an exception when the encodingFormat property is filled with "text/x-wiki", "text/html" or "text/plain".

       

      Steps to reproduce: 

      Make a query like this:
      curl -X PUT "
      http://localhost:8080/o/headless-delivery/v1.0/sites/Guest/wiki-pages/by-external-reference-code/my-external-wiki
      " -H "accept: application/json" -H "Content-Type: application/json" -H "x-csrf-token: Q9F1Jy71" -d "{\"content\":\"amazing\",\"customFields\":[],\"description\":\"New\",\"encodingFormat\":\"text/x-wiki\",\"headline\":\"my page\",\"keywords\":[],\"subscribed\":false,\"wikiNodeId\":40174}"

        Attachments

          Activity

            People

            Assignee:
            luismiguel.barco Luis Miguel Barcos
            Reporter:
            pablo.agulla Pablo Agulla
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Luis Miguel Barcos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 7 weeks, 3 days ago

                Packages

                Version Package
                7.4.2 CE GA3 DXP 7,4
                7.4.13 DXP GA1
                Master