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

A "Default selection item", in an "Object Relation" Attribute, is ignored in objects based in the class that uses the referred attribute

    XMLWordPrintable

Details

    Description

      hi,
      If i define a new class that has an "Object relation" attribute, that has a "Default selection item", and then create an object based on that class, that object is not related with the "Default selection item" object referred when the class was created.

      Follow the steps bellow to better understand the problem.

      Steps to reproduce
      - Create an article called "Article 1"
      - Create a new class that has an "Object relation" attribute
                   - In the definition of this attribute, refer the "Article 1" as being the "Default selection item" and then publish the class
      - Create an object of the class previously defined
                  - Include or not any relation, but not with "Article 1", that is supposed to be defined by default. Then publish the object
      - Verify the relations of the created object
      

      In the last step, i was expecting to see the default relation, i.e. with "Article 1", but that relation do not exists

      Attachments

        Activity

          People

            Unassigned Unassigned
            pcardiga pcardiga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: