stable

Clone or download

Read-only

Export/import version's date

Now the version of a file is exported/imported with it's date. 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: Id76557b2308087a76a8b6d545203a02aac72a4fd

Modified Files

Name
M plugins/docman/include/XML/Export/XMLExportVisitor.php +5 −0 Go to diff View file
M plugins/docman/include/XML/Import/PostFileImporter.php +2 −1 Go to diff View file
M plugins/docman/include/XML/Import/VersionImporter.php +27 −5 Go to diff View file
M plugins/docman/include/docmanPlugin.php +3 −1 Go to diff View file
M plugins/docman/phpunit/XML/Export/XMLExportVisitorTest.php +3 −1 Go to diff View file
M plugins/docman/phpunit/XML/Import/VersionImporterTest.php +91 −3 Go to diff View file
M plugins/docman/resources/docman-definition.rnc +5 −0 Go to diff View file
M plugins/docman/resources/docman-definition.rng +11 −0 Go to diff View file
A src/common/xml/InvalidDateException.php +27 −0 Go to diff View file
A src/common/xml/XMLDateHelper.php +65 −0 Go to diff View file
M src/common/xml/resources/project/docman-definition.rng +11 −0 Go to diff View file
A tests/phpunit/common/xml/XMLDateHelperTest.php +90 −0 Go to diff View file