stable
Clone or download
Read-only
request #23410 Remove document version filesize from project import xml
When a document's filesize is 0 for some reason, it broke the project import. To test : update database to set 0 as filesize in plugin_docman_version export the project --> it works import the project --> it's broken We don't need to export document's file size from database as we have the file to get his size. This patch remove it frome xml export. Change-Id: I5629c574e622df84d783737af7320e0c37179392
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/XML/Export/XMLExportVisitor.php | +0 | −1 | Go to diff View file |
M | plugins/docman/include/XML/Import/VersionImporter.php | +1 | −1 | Go to diff View file |
M | plugins/docman/resources/docman-definition.rnc | +1 | −1 | Go to diff View file |
M | plugins/docman/resources/docman-definition.rng | +5 | −3 | Go to diff View file |
M | plugins/docman/resources/docman.rng | +5 | −3 | Go to diff View file |
M | plugins/docman/tests/unit/XML/Export/XMLExportVisitorTest.php | +0 | −10 | Go to diff View file |
M | plugins/docman/tests/unit/XML/Import/VersionImporterTest.php | +5 | −10 | Go to diff View file |
M | src/common/xml/resources/project/docman-definition.rng | +5 | −3 | Go to diff View file |
M | src/common/xml/resources/project/project.rng | +5 | −3 | Go to diff View file |