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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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.

        Activity

        Hide
        Vincent GUYARD added a comment -
        Show
        Vincent GUYARD added a comment - PR has been created: https://github.com/ezsystems/ezpublish-kernel/pull/2489
        Hide
        Vincent GUYARD added a comment -

        Do someone know when this bug will be fixed? This is blocking me :/

        Show
        Vincent GUYARD added a comment - Do someone know when this bug will be fixed? This is blocking me :/
        Hide
        André Rømcke added a comment -

        Vincent GUYARD 1. rephrase the issue here, the issue is in form handling not API. 2. If you are having issues with this on a enterprise install report this to https://support.ez.no/ to make sure eZ takes a look in case no one in the community (incl yourself) are able to come up with a fix.

        Show
        André Rømcke added a comment - Vincent GUYARD 1. rephrase the issue here, the issue is in form handling not API. 2. If you are having issues with this on a enterprise install report this to https://support.ez.no/ to make sure eZ takes a look in case no one in the community (incl yourself) are able to come up with a fix.

          People

          • Assignee:
            Unassigned
            Reporter:
            Vincent GUYARD
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: