Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
Known Issues 5.x Stack, 5.0.0-dev
-
None
-
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