Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.0
-
Fix Version/s: None
-
Component/s: Storage
-
Labels:None
-
Difficulty:Unknown
-
Similar issues:
XWIKI-5098com.xpn.xwiki.api.Document.getPreviousVersion() throws NPE if current version is the first one XWIKI-1976Importing attachments will increase the attachment version XWIKI-7754"Page from Office" does not import images from Word documents when Filesystem attachments are used. XWIKI-4937Importing a new document with 'add new version to existing history' loses first version of the document XWIKI-1808Import document containing no "version" element will corrupt the document. XWIKI-932NPE during import on some documents XWIKI-3574Images from previous documents appear in the "Attachments" tab when import Word document via 'Import office document' XWIKI-7753Newer versions of (doc, docx) attachments are not indexed by Lucene XWIKI-6182 When reverting the deletion of an attachment, the current version of the attachment is incremented. XWIKI-6203 When saving a filesystem attachment with no archive, an archive is created starting with version 2.0 instead of 1.0.
Description
to repeat:
{{groovy}}
xwiki.getDocument('Sandbox.WebHome').getDocument().getAttachmentList().get(0).loadArchive(xcontext.getContext()).getVersions();
{{/groovy}}