You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd suggest generateSearchDocumentID(). Or I would question why this needs to be extended onto DataObject in the first place, since it deals with public properties on DataObject only. Couldn't we just keep this in DataObjectDocument->getIdentifier()?
I don't see that logic being customised often. Even for subsites, each page has a unique database identifier. It's only an issue for fluent... is that an extension of DataObjectDocument? Alternatively, we require 4.6 and use DataObject->getUniqueID() which has just been merged. That handles special cases like fluent.
The text was updated successfully, but these errors were encountered:
So you didn't want to require 4.6 or newer and go with getUniqueID()? That'll give you fluent compat out of the box for example (on identifier generation at least).
A UUID is a specific concept (or spec) in computer science terms, and this isn't what we're creating here. See https://en.wikipedia.org/wiki/Universally_unique_identifier.
I'd suggest
generateSearchDocumentID()
. Or I would question why this needs to be extended onto DataObject in the first place, since it deals with public properties on DataObject only. Couldn't we just keep this inDataObjectDocument->getIdentifier()
?I don't see that logic being customised often. Even for subsites, each page has a unique database identifier. It's only an issue for fluent... is that an extension of
DataObjectDocument
? Alternatively, we require 4.6 and useDataObject->getUniqueID()
which has just been merged. That handles special cases like fluent.The text was updated successfully, but these errors were encountered: