Give the gift of Drupal. All merchandise is 50% off through 2016.
Updated: Comment #0
We need a consistent way to get/set the author of an entity. Some entities contain a uid field to represent the author but there is no consistency, eg the uid field on a user is not the author and obviously manipulating that value will cause issues.
Rather than checking for a hard-coded list of entity types that support a uid or guessing based on the presence or lack thereof of a uid property, we should add an EntityAuthor interface with getAuthor/setAuthor or getOwner/setOwner methods.
Decide on the method names - either getAuthor/setAuthor or getOwner/setOwner.
User interface changes
Just an additional api in the form of the interface
See comment 10
/ (see comment 353 on the helper issue)
PASSED: [[SimpleTest]]: [MySQL] 63,688 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch drupal_2078387_60.patch. Unable to apply patch. See the log in the details link for more information. View
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch drupal_2078387_51.patch. Unable to apply patch. See the log in the details link for more information. View
FAILED: [[SimpleTest]]: [MySQL] Failed to run tests: failed during invocation of run-tests.sh. View