
|
If you were logged in you would be able to see more operations.
|
Google issue summary
|
|
|
|
|
| Component/s: |
Core
|
| Affects Version/s: |
None
|
| Fix Version/s: |
5.1 M1
|
|
|
Time Tracking:
|
|
Original Estimate:
|
2 hours
|
|
|
Remaining Estimate:
|
2 hours
|
|
|
Time Spent:
|
Not Specified
|
|
|
|
|
CoreSession.saveDocumentAsNewVersion don't work on documents that were not yet versioned
When calling this method on a document not yet versioned an exception is thrown by
--> generateVersionLabelFor()
---> getVersionsForDocument()
---> doc.getVersions()
because it tries to access the versionHistory node for this document and the node doesn't exists
If you manually make a checkout on the doc (create a new version) the the method will work correctly
|
|
Description
|
CoreSession.saveDocumentAsNewVersion don't work on documents that were not yet versioned
When calling this method on a document not yet versioned an exception is thrown by
--> generateVersionLabelFor()
---> getVersionsForDocument()
---> doc.getVersions()
because it tries to access the versionHistory node for this document and the node doesn't exists
If you manually make a checkout on the doc (create a new version) the the method will work correctly
|
Show » |
|