Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Calls to getContentStream fail with exception if self.reload not called first#1

Open
hughdbrown wants to merge 1 commit into
apache:trunkfrom
hughdbrown:fix_getContentStream
Open

Calls to getContentStream fail with exception if self.reload not called first#1
hughdbrown wants to merge 1 commit into
apache:trunkfrom
hughdbrown:fix_getContentStream

Conversation

@hughdbrown
Copy link
Copy Markdown

Here is the Stackoverflow link that describes the problem I had:

http://stackoverflow.com/questions/15953816/alfresco-document-derived-content-is-missing-content

The one-line fix provided averts the exception.

@jpotts
Copy link
Copy Markdown
Contributor

jpotts commented Aug 13, 2013

Create a Jira for this: https://issues.apache.org/jira/browse/CMIS-701

Rather than reloading every time, I'm checking to see if the content element is there. If it is not, I reload. If it still isn't after that the assertion will fail.

Fixed in rev 1513319 in Apache SVN.

Thanks for reporting!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants