stable

Clone or download

Read-only

Export/import creation & update date of item

Now the creation date and the update date (visible in the quicklook) are exported/imported. If date is not present in the xml, then we take the date of import. Part of request #14507: XML import/export : docman Change-Id: I2ff5177fb13c3e6ebdc5de48ff957a456223bf69

Modified Files

Name
M plugins/docman/include/Docman_ItemFactory.class.php +4 −2 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +4 −0 Go to diff View file
M plugins/docman/include/XML/Export/XMLExportVisitor.php +23 −6 Go to diff View file
M plugins/docman/include/XML/Import/ImportProperties.php +116 −18 Go to diff View file
A plugins/docman/include/XML/Import/ImportPropertiesExtractor.php +100 −0 Go to diff View file
M plugins/docman/include/XML/Import/ItemImporter.php +2 −0 Go to diff View file
M plugins/docman/include/XML/Import/NodeImporter.php +24 −55 Go to diff View file
M plugins/docman/include/docmanPlugin.php +3 −1 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +15 −5 Go to diff View file
A plugins/docman/phpunit/XML/Import/ImportPropertiesExtractorTest.php +273 −0 Go to diff View file
M plugins/docman/phpunit/XML/Import/ImportPropertiesTest.php +36 −6 Go to diff View file
M plugins/docman/phpunit/XML/Import/ItemImporterTest.php +5 −2 Go to diff View file
M plugins/docman/phpunit/XML/Import/NodeImporterTest.php +223 −103 Go to diff View file
M plugins/docman/resources/docman-definition.rnc +3 −1 Go to diff View file
M plugins/docman/resources/docman-definition.rng +10 −0 Go to diff View file
M src/common/xml/resources/project/docman-definition.rng +10 −0 Go to diff View file