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

The first author is not being pre-filled when creating an object with an Author fieldtype

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: 2015.11
    • Fix Version/s: 2015.11
    • Environment:

      Operating System: CentOS 7.0 x64
      PHP Version: 5.4.16
      Database and version: Mariadb 5.5
      Browser (and version): Firefox 35

      Description

      Hi,
      In PlatformUI, when we create an object that has an Author fieldtype, the first author is not being pre-filled with user's username and email

      Reference: Author spec

      default state:

      Field value
      1st author name Loged-in user name
      1st Email email of the loged-in user.
      Steps to reproduce:

      -– Create a content type with a "Author" attribute
      -– In platformUI, create an object of the previous Content Type

        Activity

        Hide
        Damien Pobel (Inactive) added a comment -

        Decreased priority to Medium and indeed this was forgotten.

        Show
        Damien Pobel (Inactive) added a comment - Decreased priority to Medium and indeed this was forgotten.
        Hide
        Damien Pobel (Inactive) added a comment -

        I think the field edit views should receive the currently logged in user, that means the content (edit|create) view service _getViewParameters should return it and the user should then be passed to the content edit form view.

        Show
        Damien Pobel (Inactive) added a comment - I think the field edit views should receive the currently logged in user, that means the content (edit|create) view service _getViewParameters should return it and the user should then be passed to the content edit form view.
        Show
        Stéphane Diot added a comment - PR : https://github.com/ezsystems/PlatformUIBundle/pull/420
        Show
        Stéphane Diot added a comment - merged : https://github.com/ezsystems/PlatformUIBundle/commit/c44bdc860a5fb62b0125200d49d6eff4056c09ff
        Hide
        Rui Silva (Inactive) added a comment -

        Tested and approved by QA for master.

        Show
        Rui Silva (Inactive) added a comment - Tested and approved by QA for master.

          People

          • Assignee:
            Unassigned
            Reporter:
            Paulo Nunes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: