Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot update some documents on beecon.orderofthebee.org #113

Open
aviriel opened this issue Apr 24, 2016 · 6 comments
Open

cannot update some documents on beecon.orderofthebee.org #113

aviriel opened this issue Apr 24, 2016 · 6 comments

Comments

@aviriel
Copy link

aviriel commented Apr 24, 2016

Issue can be reproduced on SOME documents, not on all of them.

Ways to reproduce:

  1. Click "Upload new version" on a document in the doclib or on the document page (https://beecon.orderofthebee.org/share/page/site/speakers/document-details?nodeRef=workspace://SpacesStore/f9a654f4-718a-4370-94da-8caed7c9281f in my case, the same I had with presentation templates).
  2. Select a file
  3. What for the uploading to 100%, then see "Error"
    selection_212
    selection_213

Trace in the log:
http://pastebin.com/in9GgbeX

Solution: delete file and create the new one with the same name (but it drops the history :( )

@marsbard
Copy link
Owner

Line 179 of the pastebin shows "### Error updating database. Cause: java.sql.SQLException: Incorrect string value: '\xD0\xA0\xD0\xB0\xD0\xB1...' for column 'qname_localname' at row 1"

it looks like a problem with internationalisation, it doesn't look like it is a specific problem relating to puppet-alfresco.

@digcat
Copy link
Collaborator

digcat commented Apr 24, 2016

other than should we handle internationalisation?

@marsbard
Copy link
Owner

somehow that error looks like it is confusing Alfresco into thinking it is an upload of a new document hence triggering an error that a file with the same name exists already

@aviriel
Copy link
Author

aviriel commented Apr 24, 2016

yep, it works if I change the language of the browser to english. But I have never seen this errors on other Alfresco installations (4.2 or 5.1), so I'm not sure that it's a problem of generic Alfresco

@douglascrp
Copy link

I have saw this kind of problem before.
It was fixed when I edited the document title and removed the special
characters.

Em dom, 24 de abr de 2016 12:01, Oksana Kurysheva [email protected]
escreveu:

yep, it works if I change the language of the browser to english. But I
have never seen this errors on other Alfresco installations (4.2 or 5.1),
so I'm not sure that it's a problem of generic Alfresco


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#113 (comment)

Douglas C. R. Paes

@marsbard
Copy link
Owner

In this case it seems to be the other way round, since the filename contains no non-English characters, rather the UI is in Russian. But certainly my first thought was of that occasion that @douglascrp mentions. I tried to replicate the issue on a 4.2.f install by switching my browser language to Russian, but I wasn't able to replicate the issue that @aviriel refers to yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants