Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-7498

Ibexa DAM is missing configuration for user profile

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 4.6.x-dev
    • 4.6.x-dev
    • None
    • [4.6] - Sprint 19

    Description

      The api/ibexa/v2/application-config endpoint requires many parameters to be set for the requested Siteaccess scope - and fails if any of them is missing.

      Currently trying to set up DAM with Image Picker fails with:

      <?xml version="1.0" encoding="UTF-8"?>
      <ErrorMessage media-type="application/vnd.ibexa.api.ErrorMessage+xml">
          <errorCode>500</errorCode>
          <errorMessage>Internal Server Error</errorMessage>
          <errorDescription>Parameter 'user_profile.content_types' with namespace '' could not be found. Tried scopes: </errorDescription>
          <trace>#0 /Users/mareknocon/Desktop/Sites/dam/vendor/ibexa/admin-ui/src/lib/UserProfile/UserProfileConfiguration.php(40): Ibexa\Bundle\Core\DependencyInjection\Configuration\ChainConfigResolver-&gt;getParameter('user_profile.co...')
      #1 /Users/mareknocon/Desktop/Sites/dam/vendor/ibexa/admin-ui/src/lib/UI/Config/Provider/UserProfile.php(30): Ibexa\AdminUi\UserProfile\UserProfileConfiguration-&gt;getContentTypes()
      

      This happens when the api/ibexa/v2/application-config endpoint is queried.

      Workaround:
      I've set the parameter:

          ibexa.site_access.config.site.user_profile.content_types: []
      

      but I'm not sure if there is a better way

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              marek.nocon@ibexa.co Marek NocoĊ„
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: