Commit c1669ec3 authored by Nicolas Delaby's avatar Nicolas Delaby

Add new property filename, because URL and filename does not store same values.

DMS was storing filename value in source_reference property, this will change, filename
will be used explicitely.

Warning: For consistency all variables or methods with id file_name or FileName
will be deprecated.
Methods will only receive filename as named argument and Filename as token in method name.
 - getPropertyDictFromFilename
 - getStandardFilename
 - ...




git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40963 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5a8fdc45
......@@ -44,6 +44,14 @@ class Data:
'type' : 'string',
'default' : 'application/unknown',
'mode' : 'w' },
# Syntax of filename property is published by
# Dublin Core DCMI Administrative Metadata.
# final version dated of 28 October 2003 can be found at url:
# http://dublincore.org/usage/meetings/2009/10/seoul/acore.pdf
{ 'id' : 'filename',
'description' : 'Name of provided file from where data come from',
'type' : 'string',
'mode' : 'w' },
{ 'id' : 'size',
'description' : 'Size in bytes of the data',
'type' : 'int',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment