Florent Guillaume wrote:
Please see https://jira.nuxeo.org/browse/NXP-4973 for the fix.

Florent

Great, I'll grab the patch and give it a whirl later.

Thanks Florent, et al

Sean

On Wed, Mar 31, 2010 at 3:21 AM, Sean Radford <[email protected]> wrote:
Hi,

Have taken a vanilla 5.3.1 jboss and configured it to use Postgres 8.3.9. Then 
when trying to add a tag to a just uploaded a file I get the following error:

Caused by: org.nuxeo.ecm.core.api.ClientException: Tag 
f7ad41b9-2573-40c7-8a02-626af85941e1 doesn't exist                              
                                           at 
org.nuxeo.ecm.platform.tag.TagServiceImpl.tagDocument(TagServiceImpl.java:213)
      at 
org.nuxeo.ecm.platform.tag.TagServiceBean.tagDocument(TagServiceBean.java:137)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      ...
      at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
      at $Proxy243.tagDocument(Unknown Source)
      at 
org.nuxeo.ecm.platform.tag.TaggingHelper.addTagging(TaggingHelper.java:86)
      at 
org.nuxeo.ecm.platform.tag.web.TagActionsBean.addTagging(TagActionsBean.java:151)

The tag is being created as if I go back to the document and try and add the 
tag again, it is found via the suggest box and I can add with no errors (it 
then appears as expected in the tag cloud).

It appears that the tag is created properly during the call to 
TagService#getOrCreateTag(...) in TaggingHelper#addTagging(...) but the 
following call to TagService#tagDocument(...) is unable to locate the newly 
created Tag document.  Some form of transaction isolation?

I've tried configuring the Postgres datasources in various ways (local, xa, 
unified) all with the same result.

Am I doing something wrong, or is this a bug?

P.S. Adding tags works fine for website pages and blogs via the WebEngine 
interface....

Help much appreciated,

Sean

--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
t: +44 (0)845 KEY HELP
t: +44 (0)845 539 4357
m: +44 (0)7802 24 24 86

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm






--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
t: +44 (0)845 KEY HELP
t: +44 (0)845 539 4357
m: +44 (0)7802 24 24 86

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to