Bug 56155 - [CoreProperties] - get|set - version missing
Summary: [CoreProperties] - get|set - version missing
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: 3.9-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-18 15:49 UTC by marcel
Modified: 2022-05-28 15:02 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marcel 2014-02-18 15:49:47 UTC
idem as 56154 for Version.

Why it is not possible to set a version in a POIXMLProperties.CoreProperties ?

(Even the function exists in PackagePropertiesPart.setVersion ...)

I think we have to add the attribut in POIXMLProperties.CoreProperties :


public String getVersion () {
return part.getVersion();
}

public String setVersion (String version) {
return part.setVersion(version);
}
Comment 1 Nick Burch 2014-02-18 16:00:33 UTC
Any chance you could turn this into a very small patch, then write a short junit unit test that verifies we can read / change / save / read this property? (It can probably re-use an existing test file for this)
Comment 2 PJ Fanning 2022-05-28 15:02:07 UTC
added with r1901356