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

PublicAPI: Author FieldType relies on Core classes with no available abstraction

    Details

    • Type: Bug Bug
    • Status: Backlog
    • Priority: Medium Medium
    • Resolution: Unresolved
    • Affects Version/s: Known Issues 5.x Stack, 5.0.0-dev
    • Labels:
      None
    • Environment:

      Operating System: RHEL 6.3
      PHP Version: 5.3.3
      Database and version: mysql 5.1.61
      Browser (and version):

      Description

      To set a Field of ezauthor type you must use the eZ\Publish\Core\FieldType\Author\Author class to create an object, breaking the API abstraction.

      Example of an API test breaking the abstraction:
      https://github.com/ezsystems/ezp-next/blob/master/eZ/Publish/API/Repository/Tests/FieldType/AuthorIntegrationTest.php#L107

        Activity

        João Pingo created issue -
        Vidar Langseid made changes -
        Field Original Value New Value
        Comment [ A comment with security level 'Employees' was removed. ]
        Patrick Allaert (Inactive) made changes -
        Assignee unknown [ unknown ]
        Description
        To set a Field of ezauthor type you must use the eZ\Publish\Core\FieldType\Author\Author class to create an object, breaking the API abstraction.

        Example of an API test breaking the abstraction:
        https://github.com/ezsystems/ezp-next/blob/master/eZ/Publish/API/Repository/Tests/FieldType/AuthorIntegrationTest.php#L107
        To set a Field of ezauthor type you must use the eZ\Publish\Core\FieldType\Author\Author class to create an object, breaking the API abstraction.

        Example of an API test breaking the abstraction:
        https://github.com/ezsystems/ezp-next/blob/master/eZ/Publish/API/Repository/Tests/FieldType/AuthorIntegrationTest.php#L107
        Component/s Public API [ 10308 ]
        Component/s Misc [ 10833 ]
        Vidar Langseid made changes -
        Affects Version/s Known Issues 5.x Stack [ 11285 ]
        André Rømcke made changes -
        Workflow eZ Community Workflow [ 21546 ] eZ Engineering Scrumban Workflow [ 35575 ]
        André Rømcke made changes -
        Status Open [ 1 ] Confirmed [ 10037 ]
        André Rømcke made changes -
        Status Confirmed [ 10037 ] Backlog [ 10000 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 35575 ] EZ* Development Workflow [ 69586 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 69586 ] EZEE Development Workflow [ 107910 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            João Pingo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: