Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20224

Object relation datatype : Impossible to use "Default selection item" in class edit

    XMLWordPrintable

Details

    • Stetind Sprint 2

    Description

      When adding a object relation datatype, it is impossible to use the "Default selection item" functionality. After using content/browse to select a item you are redirected back to /class/edit with message "No item has been selected.".
      This is written in ezdebug

      Notice: PHP: E_NOTICE 	Dec 13 2012 14:50:25
      Undefined variable: placementArray in /var/www/apache2php53/ezpublish5/ezpublish_testsystem/.run/kernel/class/edit.php on line 538
      
      Notice: PHP: E_NOTICE 	Dec 13 2012 14:50:25
      Undefined variable: placementArray in /var/www/apache2php53/ezpublish5/ezpublish_testsystem/.run/kernel/class/edit.php on line 538
      

      how to reproduce :

      #1 Create a class with a object relation datatype
      #2 Selection method : Drop-down list
      #3 Click "Select item"
      #4 "Check" a folder which has a few sub items
      #5 Click "Select" button
      #6 Validate that you do not get message "No item has been selected."
      

      This happens both when testing through legacy and symfony stack

      Attachments

        Activity

          People

            Unassigned Unassigned
            vidar.langseid@ibexa.co Vidar Langseid
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour
                1d 1h