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

Notice "Undefined index: PasswordTTL" while updating ezuser field definition using PAPI

    XMLWordPrintable

    Details

      Description

      The following snippet will rise the notice "Undefined index: PasswordTTL"

      $fieldDefinitionUpdateStruct = $contentTypeService->newFieldDefinitionUpdateStruct(); 
      $fieldDefinitionUpdateStruct->fieldSettings = [ 'PasswordTTLWarning' => 12 ];
      
      //$fieldDefinition is ezuser FT
      $contentTypeService->updateFieldDefinition($draft, $fieldDefinition, $fieldDefinitionUpdateStruct);
      

      Related CI build: https://travis-ci.com/ezsystems/ezplatform-page-builder/jobs/238384502

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            adam.wojs@ez.no Adam Wójs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: