History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LDEV-2559
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ernie Ghiglione
Reporter: Ernie Ghiglione
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
LAMS Development

Renaming sequences in Author in Greek produces garbage characters

Created: 03/May/10 04:19 PM   Updated: 07/Jan/12 07:32 AM
Component/s: Author
Affects Version/s: 2.3.4
Fix Version/s: 2.4, 2.3.5

Resolution Date: 24/Dec/11 03:49 AM
Date of First Response: 09/Nov/10 01:35 AM


 Description  « Hide

 All   Comments   Change History   FishEye      Sort Order:
Change by Mitchell Seaton - 03/May/10 08:27 PM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]

Change by Ernie Ghiglione - 24/May/10 12:18 PM
Assignee Mitchell Seaton [ mseaton ] Ernie Ghiglione [ ernieg ]

Change by Ernie Ghiglione - 08/Nov/10 12:55 PM
Assignee Ernie Ghiglione [ ernieg ] Andrey Balan [ dronych ]

Andrey Balan - 09/Nov/10 01:35 AM
I expect this to be a problem on Flash side.
So before passing parameters to Java one should probably invoke some equivalent to Java's command URLEncoder.encode(sequenceName, "UTF-8");
because otherwise we get spoiled sequenceName in Java.

I can also report the same problem occurring on creating a new folders with UTF-8 characters

Change by Andrey Balan - 09/Nov/10 01:36 AM
Assignee Andrey Balan [ dronych ] Ernie Ghiglione [ ernieg ]

Ernie Ghiglione - 09/Nov/10 12:58 PM
From Mitch:

" It's quiet clear, took couple mins find issue - rename function does service call (GET) via http, name is passed as url param therefore lossing the encoding.

Solution is to use a POST call to a servlet sending the data as a WDDX xml packet and the name utf8 will be retained.

Changes will need to be made to url called line 212 of Workspace.as and the service call line 1303 of WorkspaceManagementService.java made deprecated."

lams2_3_release:ernieg:20111223163310 by  Ernie Ghiglione (1 file) 23/Dec/11 10:33 AM
Ernie Ghiglione - 24/Dec/11 03:49 AM
It was actually a lot simpler, just needed to escape the newname (urlencode it)

Change by Ernie Ghiglione - 24/Dec/11 03:49 AM
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]

Ernie Ghiglione - 07/Jan/12 07:32 AM
Tested by Spyros... all good now

Change by Ernie Ghiglione - 07/Jan/12 07:32 AM
Status Resolved [ 5 ] Closed [ 6 ]