Issue Details (XML | Word | Printable)

Key: GLIFFY-666
Type: Bug Bug
Status: Tested Tested
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Chris Kohlhardt
Reporter: Debi Kohlhardt
Votes: 0
Watchers: 1
Operations

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

Character "ø" in Diagram Name Cause "Error Processing Request"

Created: 15/Jun/08 09:48 PM   Updated: 26/Jun/09 11:55 AM
Component/s: Confluence Plugin Integration, Core - Drawing
Affects Version/s: Gliffy Plugin for Confluence - 1.4.0
Fix Version/s: Gliffy Plugin for Confluence - 1.4.0
Security Level: Anyone may view

File Attachments: None
Image Attachments:

1. problemprocessing.jpg
(11 kB)
Environment: 2.7


 Description  « Hide
Steps to Reproduce:
Name Diagram with "ø" Character (alone or with other characters in name)
Add a Shape, Save
Add a Shape, Save
Receive Error "Error Processing Request"
Choose Previous Revision 1
Answer "no" to "Save Changes?"
Program stalls as attempting to revert to previous version

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Chris Kohlhardt added a comment - 16/Jun/08 01:39 PM
This is not reproducible on my local instance of Confluence 2.8, but it is reproducible on the instance at http://cpb-cp-2-8.gliffy.com.

The server at http://cpb-cp-2-8.gliffy.com does not report errors.


Chris Kohlhardt added a comment - 16/Jun/08 02:24 PM
With the Laszlo debugger on, try the following steps:
  • Load up a diagram with the "ø" Character (for example, this one: http://cpb-cp-2-6.gliffy.com/plugins/gliffy/showgliffyeditor.action?ceoid=557077&name=ømygosh&key=test2&lastPage=/pages/viewpage.action?pageId=557077 )
  • When the diagram opens, enter the following into the debugger: Diagram.diagramAccessDescriptor.name
    • The result should be "ømygosh"
  • Edit and save the diagram
  • Enter Diagram.diagramAccessDescriptor.name into the debugger again
  • Notice that the result is now "?mygosh"

Is this a client or server thing?


Clint Dickson added a comment - 16/Jun/08 03:44 PM
I am getting the client error dialog "There was a data error while processing your request....." when loading the diagram.

Looking into recreating this on my local instance.


Clint Dickson added a comment - 16/Jun/08 04:10 PM
On local instance, I get good behavior.

On my development server instance confluence-dev.gliffy.com on gliffy02, i get bad behavior. I created a diagram called ømygosh, and the first thing it does is load into the Doc Manager. When I view the page, i get a broken image. I cannot remove the diagram as i get an error saying "The specified diagram does not exist" in confluence.


Chris Kohlhardt added a comment - 16/Jun/08 07:25 PM
Any idea why the LZX Debugger would change the name? Do we set the name after a save?

Chris Kohlhardt added a comment - 16/Jun/08 07:36 PM
Fixed by making sure content is set to UTF-8 bytes