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

As a developer, I want to be able to edit and create a section in the admin part of the PlatformUI

    Details

    • Epic Link:
    • Sprint:
      Castor UI S1, Castor UI S7
    • Story Points:
      3

      Description

      The edit/create form is available if the user has the policy section/edit. It's a basic form with two fields:

      • section name
      • section identifier

      Both fields are required. The identifier can only contains characters validated by the regex /(^[^A-Za-z])|\W/ (found in legacy kernel/section/edit.php). The identifier must also be unique in the system. After validating the form, the user is redirected to the section list.

      Below the form, a link labeled "Go back to the section list" allows to get back to the section list.

      The same feature is more or less available in the legacy admin (<url>/section/edit/1) or in the AdminBundle

      The first step is to implement the form and the server side validation, the client side validation can come in a second step.

        Issue Links

          Activity

          Show
          Idriss Birem (Inactive) added a comment - - edited PR: https://github.com/ezsystems/PlatformUIBundle/pull/91 Edit: closed in favor of https://github.com/ezsystems/PlatformUIBundle/pull/114
          Hide
          Damien Pobel (Inactive) added a comment -

          We need to dig into the form component usage with our public API.

          Show
          Damien Pobel (Inactive) added a comment - We need to dig into the form component usage with our public API.
          Show
          Yannick Roger (Inactive) added a comment - PR: https://github.com/ezsystems/PlatformUIBundle/pull/114
          Show
          Yannick Roger (Inactive) added a comment - Merged in master: https://github.com/ezsystems/PlatformUIBundle/commit/5745cd0bf471771ae532efa2b7cdc15a3530679f

            People

            • Assignee:
              Unassigned
              Reporter:
              Damien Pobel (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile