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

The field "password" is missing in eZ\Publish\Core\FieldType\User\Value

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • 2.5.3
    • None

    Description

      The field "password" is missing in eZ\Publish\Core\FieldType\User\Value.

      The problem occure where you remove the ezuser field from the /user/update form:

      $form->.....->remove('user_account');

      Adding the following in eZ\Publish\Core\FieldType\User\Value solve the problem:

          /**
           * Password.
           *
           * @var mixed
           */
          public $password;
      

      This field is used in EzSystems\RepositoryForms\Form\EventSubscriber\UserFieldsSubscriber line 94:

      $data->password = $userAccountFieldData->password;
      

      This is why the field should be defined to avoid an exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            skrosoft skrosoft
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: