AnsweredAssumed Answered

ContentUtils.putContent and FacesContext error

Question asked by dirko on Jun 4, 2008

I am using ContentUtils.putContent() to put a file in the repository. Most of the time this works fine, but sometimes i get a "FacesContext must not be null" error. In that case the file is visible in Alfresco but its size is 0. The strange thing is that this error goes away after a while.

I have seen this happening with both versions of putContent(). I am using Enterprise edition 2.1. Any idea what is happening here?