#3 — use title for id generation

by Yiorgis Gozadinos last modified Feb 21, 2009 10:14 PM
State Resolved
Version: 1.0
Area Functionality
Issue type Feature
Severity Medium
Submitted by Yiorgis Gozadinos
Submitted on Jul 08, 2008
Responsible Andreas Zeidler
Target release:
I adapt a content of my own using a schema extender to save a file as a blob. However I find that using the filename for id generation should not be default. Is fixAutoId necessary? Why not keep the default plone id generation?
If this is intended what's the recommended way to override?
Added by Andreas Zeidler on Sep 06, 2008 02:18 PM
Issue state: unconfirmedopen
Responsible manager: (UNASSIGNED)witsch
[ note: i'm adding the same response again now that i'm properly logged in... ]

yes, this was indeed intended — it fixes some ATContentTypes tests that i used to run the new blob-based content types against to make sure they're compatible as much as possible. please also see http://dev.plone.org/plone/changeset/18283 for some more details...

however, i think you're right that this should only happen for the "emulated" "File" and "Image" types, but not for custom types. i'll look into the issue again...
Added by Andreas Zeidler on Sep 07, 2008 03:43 PM
Issue state: openresolved
the issue was fixed in http://dev.plone.org/plone/changeset/22525 (and a test added in http://dev.plone.org/plone/changeset/22526): custom types using a blobfield should now not use the file name for id generation anymore...

No responses can be added.