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

Content location swap is limited to container

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 3.3.8
    • Content
    • Ibexa Experience

    Description

      Kind of generalization of "User cannot be swapped with another user" ticket.

       

      Steps:

      1. Go to any content page
      2. Click Locations tab
      3. Click Select content item in Location Content Swap section
      4. Navigate in the UDW and try to select users or articles (non-container contents)

       

      Actual result:

      It is impossible to swap locations with a non-container content.

       

      Expected result:

      It should be allowed to swap location with a non-container content.

       

      Technical note:

      As far as I understand the UDW module, that an error in configName passed in the ez_udw_config filter, in the ezplatform-admin-ui/src/bundle/Resources/views/themes/admin/content/tab/locations/panel_swap.html.twig:

          {{ form_widget(form.swap, {'attr': {
              'disabled': not can_swap,
              'class': 'btn btn-secondary btn--udw-swap ml-5',
              'data-udw-config': ez_udw_config('single_container', {})
          }}) }}
      

      We use "single_container", where I would have use "single".

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              3742d1c1-6959-4ff2-85fa-e4f0ab9d78e8@accounts.ibexa.co Malcolm HOUEL
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: