Nuxeo mailing list archives
[Nuxeo-tickets] [Nuxeo Repository] #1801: DiskFile: two issues on
file name
Nuxeo Repository
trac at nuxeo.com
Wed Dec 27 15:19:54 CET 2006
#1801: DiskFile: two issues on file name
------------------------+---------------------------------------------------
Reporter: gracinet | Owner: fguillaume
Type: defect | Status: new
Priority: P2 | Milestone: CPS 3.4.4
Component: CPSSchemas | Version: TRUNK
Severity: normal | Keywords: DIskfile integrity
------------------------+---------------------------------------------------
* In case the suggested id is already present on FS, getNewFileName()
simply appends a number to it. Therefore it breaks the 'extension' part of
the filename, e.g. 'bigmovie.avi' can turn into 'bigmovie.avi1'. Sadly,
this breaks some content analysers, such as kaa.metadata.
* a potential flaw: the reserved file name is computed during object
instantiation and used at transaction commit time, when it might not be
free anymore.
Shall I go ahead and fix this ?
--
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1801>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.