Gliffy

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

Details

  • 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

    Show
    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
  • Environment:
    2.7

Activity

Hide
Chris Kohlhardt added a comment - 16/Jun/08 1: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.

Show
Chris Kohlhardt added a comment - 16/Jun/08 1: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.
Hide
Chris Kohlhardt added a comment - 16/Jun/08 2: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?

Show
Chris Kohlhardt added a comment - 16/Jun/08 2: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?
Hide
Clint Dickson added a comment - 16/Jun/08 3: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.

Show
Clint Dickson added a comment - 16/Jun/08 3: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.
Hide
Clint Dickson added a comment - 16/Jun/08 4: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.

Show
Clint Dickson added a comment - 16/Jun/08 4: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.
Hide
Chris Kohlhardt added a comment - 16/Jun/08 7:25 PM

Any idea why the LZX Debugger would change the name? Do we set the name after a save?

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

Fixed by making sure content is set to UTF-8 bytes

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

People

Dates

  • Created:
    15/Jun/08 9:48 PM
    Updated:
    26/Jun/09 11:55 AM
    Resolved:
    16/Jun/08 7:36 PM