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

Public api : Class/object with ezcountry object is not created correctly, ezdebug gives Warning when editing object

    Details

      Description

      Hi

      1. Using public api : Create a class containing country datatype
      2. Using public api : create a object of the class
      3. Using admin interface, edit the object :
        On the redirect page ( url /content/edit/57/f/eng-GB ) you'll get this warning:
        Warning: eZContentClass::versionHistoryLimit 	Nov 01 2012 10:53:19
        class integer parameter doesn't match any content class ID
      
      

        Activity

        Hide
        Edi Modrić (Inactive) added a comment -

        Sorry, I cannot reproduce it any more.

        Show
        Edi Modrić (Inactive) added a comment - Sorry, I cannot reproduce it any more.
        Hide
        Vidar Langseid added a comment -

        Retested, bug (warning) still persist...

        Show
        Vidar Langseid added a comment - Retested, bug (warning) still persist...
        Show
        Edi Modrić (Inactive) added a comment - https://github.com/ezsystems/ezp-next/pull/134
        Hide
        Edi Modrić (Inactive) added a comment -

        Looks like it might be a problem with content class cache not being cleared in legacy when adding a new class.

        Probably requires legacy slot to clear it.

        Show
        Edi Modrić (Inactive) added a comment - Looks like it might be a problem with content class cache not being cleared in legacy when adding a new class. Probably requires legacy slot to clear it.
        Hide
        Vidar Langseid added a comment -

        This problem seems to be there with any fieldtype, not only ezcountry..
        At least I have the same problem with ezxmltext too.

        Updating to high severity...

        Show
        Vidar Langseid added a comment - This problem seems to be there with any fieldtype, not only ezcountry.. At least I have the same problem with ezxmltext too. Updating to high severity...
        Hide
        Damien Pobel (Inactive) added a comment -

        Could you provide the script or a snippet of it that does the steps 1 and 2 ?

        Show
        Damien Pobel (Inactive) added a comment - Could you provide the script or a snippet of it that does the steps 1 and 2 ?

          People

          • Assignee:
            Unassigned
            Reporter:
            Vidar Langseid
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h