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

Headless Admin User API post organization results with no such organization

Details

    Description

      Adding organization using endpoint:
      http://localhost:8080/o/headless-admin-user/v1.0/organizations

      request body example:

      { "name":"New Organization" }

      results with:

      HTTP status 404 and response {   "status" : "NOT_FOUND",   "title" : "No Organization exists with the primary key 0" }
      

      Issue is in OrganizationResourceImpl:176

      Attachments

        Issue Links

          Activity

            People

              team-headless Product Team Headless
              igor.beslic Igor Beslic (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Igor Beslic Igor Beslic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 16 weeks, 2 days ago

                Packages

                  Version Package
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master