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

User can not be properly created from inside storage

    XMLWordPrintable

Details

    • Aconcagua Sprint 1, Aconcagua Sprint 4

    Description

      When field definition is added to the ContentType, all Content instances of that ContentType are updated by adding a field with default value defined in field definition.

      As user can be created only through UserService (or User storage handler) and not through external storage, field of the ezuser type added in such a way will not have all data properly created. Most important, it will not be possible to update such a user so that it becomes functional.

      Some options here:

      1. do not allow adding ezuser field to the ContentType that has existing Content instances
      2. handle it as a special case and create non-functional user that can be later updated (Legacy Storage way)
      3. something else?

      Attachments

        Activity

          People

            Unassigned Unassigned
            petar.spanja-obsolete@ez.no Petar Spanja (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 3 days, 1 hour, 45 minutes
                3d 1h 45m