cancel
Showing results for 
Search instead for 
Did you mean: 

client PHP CMIS problem

braguzz
Champ in-the-making
Champ in-the-making
I browse alfresco repository from a client PHP with http://chemistry.apache.org/php/phpclient.html and I render it via CMS typo3 without problem (till yesterday).

yesterday une user tell me that if he change some propertyes (name, description) from /share or /alfresco, he doesnt see that changes in the client cmis.

If I delete the folder and I recreate it, the problem disappare for a while.

thare is some cmis caching server side?

what could be happened? in log I doesnt see any errors.

problem happens twice (till now) and is difficult to reproduce.

what can I try?

Thanks in advance,
P.
5 REPLIES 5

braguzz
Champ in-the-making
Champ in-the-making
noone? Smiley Sad

braguzz
Champ in-the-making
Champ in-the-making
I'm checking the problem with CMIS workbench but it shows me the 'wrong' data…

i.e. CMIS workbench shows me something in 'name' or in 'description', but share shows me something else in same properties.


and now? : (

I hoped it was a problem on the client side ….

braguzz
Champ in-the-making
Champ in-the-making
probably is a language related problem.but how to solve it?

it seems not deterministic..

when I browse via cmis witch  language I use?

braguzz
Champ in-the-making
Champ in-the-making
It is a language related problem

- CMIS client takes the metadata in English unless they are empty otherwise take them in Italian (my language).
- The scripts that gets metadata puts the metadata in English (the language of the server)
- Share in the browser shows me the metadata in the language in which I'm displaying if they are not empty , otherwise it makes me see those in English if any.

and now? arghhhhh

braguzz
Champ in-the-making
Champ in-the-making
bypassed the problem starting alfresco with

JAVA_OPTS="-Duser.country=IT -Duser.region=IT -Duser.language=it ecc…."

not so elegant but it works (at least for me that doesnt use multilanguage)