I tried to upload a file through webservice on a space with two rules : - Extract common metadata fields from content - Link to category 'Version Control Plan'
The extraction of metadata doesn't work with webservice. I tried to upload the same file with Alfresco web client and with CIFS and it was working.
But the "link to category" rule work when I upload the file through web services.
Is it a bug ? Or this specific rule is disable for better performance ?
I am not aware of any rules being disabled when uploading content via the web services. In fact all rules should be fired regardless of which interface is used to upload the content.
This probably mean this is a bug so the best course of action would be to raise a new issue in JIRA (http://www.alfresco.org/jira), providing details of how to reproduce the problem. Any sample code you may have will be very helpful.
You'll be able to track the progress of the bug from within JIRA.
Thanks Roy for your answer ! It was my fault. I set the wrong mime type before uploading ex : ContentFormat contentFormat = new ContentFormat("application/msword", "UTF-8"); So it's working if the correct mime-type is specified. Sorry about that.