Gliffy

Editing diagrams not working anymore after updating to gliffy version 2.0.0

Details

  • Description:
    Hide
    • I updated the gliffy plugin to version 2.0.0 from the plugin repository and after that when I click on a edit diagram button it opens a new page that is empty. (the flash gliffy program never opens)
    • The diagrams on the page they are embedded shows up correctly
    • I can create new diagrams, but I can't edit them
    • With IE8 it displays an error saying that in gliffy.js there's a missing "}"
      • Don't know if this is somehow related, but there was a missing "}" in the second function on that gliffy.js file.

    I couldn't find any similar problems with google or by going through your jira issues.

    At the moment we can't edit any of our diagrams or make new ones.

    Show
    • I updated the gliffy plugin to version 2.0.0 from the plugin repository and after that when I click on a edit diagram button it opens a new page that is empty. (the flash gliffy program never opens)
    • The diagrams on the page they are embedded shows up correctly
    • I can create new diagrams, but I can't edit them
    • With IE8 it displays an error saying that in gliffy.js there's a missing "}"
      • Don't know if this is somehow related, but there was a missing "}" in the second function on that gliffy.js file.
    I couldn't find any similar problems with google or by going through your jira issues. At the moment we can't edit any of our diagrams or make new ones.
  • Environment:
    Confluence Enterprise version 3.0.0_01
    Gliffy 2.0.0 plugin
    newest flash version ( 10 ? )
    Firefox 3.0.11
    IE 8
    Opera 9.64

Activity

Hide
Chris Kohlhardt added a comment - 30/Jun/09 11:39 AM

We're looking into this now.

-chris

Show
Chris Kohlhardt added a comment - 30/Jun/09 11:39 AM We're looking into this now. -chris
Hide
Chris Kohlhardt added a comment - 30/Jun/09 1:48 PM

Hi Jukka,

Exactly which function is showing up as broken in IE?

Is this problem specific to IE, or is it a problem in the other browsers as well?

Are all users seeing this issue, or is it specific to you? There is a known issue with the Real Player Plugin and Flash that causes problems.

thanks

-chris

Show
Chris Kohlhardt added a comment - 30/Jun/09 1:48 PM Hi Jukka, Exactly which function is showing up as broken in IE? Is this problem specific to IE, or is it a problem in the other browsers as well? Are all users seeing this issue, or is it specific to you? There is a known issue with the Real Player Plugin and Flash that causes problems. thanks -chris
Hide
Jukka Rasi added a comment - 01/Jul/09 6:54 AM

The same problem was with all the browsers (the gliffy flash program didn't open and only a blank page was shown). IE just showed some debug information that a "}" was missing in the gliffy.js file.

I did some digging and found that this file is referenced in the page source that opens when the "edit diagram" -button is pressed:

<script language="JavaScript1.2" src="/download/resources/com.gliffy.integration.confluence:gliffy-macro-key/resources/gliffy.js"></script>

Don't know if this is why the gliffy flash program doesn't open, but I thought it was worth to mention it.

Oh, and yes "all" users are seeing this issue. (At least the four guys I asked to test this)

Show
Jukka Rasi added a comment - 01/Jul/09 6:54 AM The same problem was with all the browsers (the gliffy flash program didn't open and only a blank page was shown). IE just showed some debug information that a "}" was missing in the gliffy.js file. I did some digging and found that this file is referenced in the page source that opens when the "edit diagram" -button is pressed:
<script language="JavaScript1.2" src="/download/resources/com.gliffy.integration.confluence:gliffy-macro-key/resources/gliffy.js"></script>
Don't know if this is why the gliffy flash program doesn't open, but I thought it was worth to mention it. Oh, and yes "all" users are seeing this issue. (At least the four guys I asked to test this)
Hide
Jukka Rasi added a comment - 01/Jul/09 6:57 AM

Forgot to paste this:

var saveWarning = "false";

function checkSaveWarning(ev) {
//    alert("check save warning, ev: " + ev + " saveWarning: " + saveWarning);
	if (saveWarning == "true") {
		var warningStr = "We have detected that you have not saved your work in Gliffy.";
		ev.returnValue = warningStr;
	}
}

function setSaveWarning(b) {
    //this MUST be the first line.  Otherwise, Firefox seems to delay execution
    saveWarning = b;		
    //alert('setSaveWarning:' + b ); 
    //#alert('actual saveWarning is:' + saveWarning

This is what is inside the gliffy.js file. As you can see, the last function is missing a "}"

Show
Jukka Rasi added a comment - 01/Jul/09 6:57 AM Forgot to paste this:
var saveWarning = "false";

function checkSaveWarning(ev) {
//    alert("check save warning, ev: " + ev + " saveWarning: " + saveWarning);
	if (saveWarning == "true") {
		var warningStr = "We have detected that you have not saved your work in Gliffy.";
		ev.returnValue = warningStr;
	}
}

function setSaveWarning(b) {
    //this MUST be the first line.  Otherwise, Firefox seems to delay execution
    saveWarning = b;		
    //alert('setSaveWarning:' + b ); 
    //#alert('actual saveWarning is:' + saveWarning
This is what is inside the gliffy.js file. As you can see, the last function is missing a "}"
Hide
Chris Kohlhardt added a comment - 01/Jul/09 12:22 PM

Hi Jakka,

It looks like your gliffy.js is incomplete. For some reason, you're not getting the entire file.

Take a look at our wiki, where you'll see that gliffy.js contains a lot more content:

http://wiki.gliffy.com/download/resources/com.gliffy.integration.confluence:gliffy-macro-key/resources/gliffy.js

I'm not sure why you're getting an incomplete file. First, try re-downloading and re-installing Gliffy to see if that helps. If you still see the same problem, please take a look in your error logs and see if there are any clues in there.

Here is the Confluence documentation for locating your log files:

http://confluence.atlassian.com/display/DOC/Working+with+Confluence+Logs

Please let me know how that goes.

regards,

-chris

Show
Chris Kohlhardt added a comment - 01/Jul/09 12:22 PM Hi Jakka, It looks like your gliffy.js is incomplete. For some reason, you're not getting the entire file. Take a look at our wiki, where you'll see that gliffy.js contains a lot more content: http://wiki.gliffy.com/download/resources/com.gliffy.integration.confluence:gliffy-macro-key/resources/gliffy.js I'm not sure why you're getting an incomplete file. First, try re-downloading and re-installing Gliffy to see if that helps. If you still see the same problem, please take a look in your error logs and see if there are any clues in there. Here is the Confluence documentation for locating your log files: http://confluence.atlassian.com/display/DOC/Working+with+Confluence+Logs Please let me know how that goes. regards, -chris
Hide
Jukka Rasi added a comment - 02/Jul/09 2:43 AM

Actually your site returns the same incomplete file for me (check the attachment)

I tried to clear all private data from firefox, but even that didn't help.

I will go through the logs next if I can find something more useful.

Show
Jukka Rasi added a comment - 02/Jul/09 2:43 AM Actually your site returns the same incomplete file for me (check the attachment) I tried to clear all private data from firefox, but even that didn't help. I will go through the logs next if I can find something more useful.
Hide
Jukka Rasi added a comment - 02/Jul/09 3:04 AM

installing and uninstalling through plugin repository didn't help at all.

Any tips on what to look for in the log files?

Show
Jukka Rasi added a comment - 02/Jul/09 3:04 AM installing and uninstalling through plugin repository didn't help at all. Any tips on what to look for in the log files?
Hide
Chris Kohlhardt added a comment - 02/Jul/09 10:01 AM - edited

Hi Jukka,

If you're seeing this problem on our wiki also, then it seems likely that there is an issue in your browser.

Can you please list the plugins that you have installed in your web browser?

thanks

-chris

Show
Chris Kohlhardt added a comment - 02/Jul/09 10:01 AM - edited Hi Jukka, If you're seeing this problem on our wiki also, then it seems likely that there is an issue in your browser. Can you please list the plugins that you have installed in your web browser? thanks -chris
Hide
Jukka Rasi added a comment - 07/Jul/09 5:02 AM

Plugins installed to firefox ( tools -> Add-ons -> plugins):

  • Adobe Acrobat, Adobe PDF Plug-In For Firefox and Netscape
  • Java(TM) Platform SE 6 U13, Java(TM) Platform SE binary
  • Java(TM) Platform SE 6 U13, Java Plug-in 1.6.0._13 for Netscape Navigator (DLL Helper)
  • Microsoft Windows Media Player Firefox Plugin, np-mswmp
  • Mozilla Default Plug-in, Default Plug-in
  • Shockwave Flash, Shockwave Flash 10.0 r22
  • Silverlight Plug-In, 2.0.040115.0
  • Windows Presentation Foundation, Windows Presentation Foundation (WPF) plug-in for Mozilla browsers

I also just installed Google Chrome ( first time install to this computer) and it shows the same problem on our wiki and also on yours. The problem being that the gliffy.js file isn't loading fully.

I have now tested this on 4 separate computers and with firefox,IE,Opera and Chrome ( not on all of those 4 computers).
I'm just installing vista to a new laptop for a separate thing and I could test your wiki (with address http://wiki.gliffy.com/download/resources/com.gliffy.integration.confluence:gliffy-macro-key/resources/gliffy.js) on a clean install. I have a hunch it won't work on that either.

Are you sure you are not getting your copy of gliffy.js from a cache or something?

I'll report back when I have the fresh copy of vista installed.

Show
Jukka Rasi added a comment - 07/Jul/09 5:02 AM Plugins installed to firefox ( tools -> Add-ons -> plugins):
  • Adobe Acrobat, Adobe PDF Plug-In For Firefox and Netscape
  • Java(TM) Platform SE 6 U13, Java(TM) Platform SE binary
  • Java(TM) Platform SE 6 U13, Java Plug-in 1.6.0._13 for Netscape Navigator (DLL Helper)
  • Microsoft Windows Media Player Firefox Plugin, np-mswmp
  • Mozilla Default Plug-in, Default Plug-in
  • Shockwave Flash, Shockwave Flash 10.0 r22
  • Silverlight Plug-In, 2.0.040115.0
  • Windows Presentation Foundation, Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
I also just installed Google Chrome ( first time install to this computer) and it shows the same problem on our wiki and also on yours. The problem being that the gliffy.js file isn't loading fully. I have now tested this on 4 separate computers and with firefox,IE,Opera and Chrome ( not on all of those 4 computers). I'm just installing vista to a new laptop for a separate thing and I could test your wiki (with address http://wiki.gliffy.com/download/resources/com.gliffy.integration.confluence:gliffy-macro-key/resources/gliffy.js) on a clean install. I have a hunch it won't work on that either. Are you sure you are not getting your copy of gliffy.js from a cache or something? I'll report back when I have the fresh copy of vista installed.
Hide
Jukka Rasi added a comment - 07/Jul/09 5:22 AM

heh, When I asked you about the cache, I realized I hadn't checked if we had some cache problems. I tried your wiki's gliffy.js from outside our network and it loaded fully. So it seems we have a problem with cache somewhere. I try to solve the cache problem and then report back. Let's hope it also solves the gliffy problem.

Show
Jukka Rasi added a comment - 07/Jul/09 5:22 AM heh, When I asked you about the cache, I realized I hadn't checked if we had some cache problems. I tried your wiki's gliffy.js from outside our network and it loaded fully. So it seems we have a problem with cache somewhere. I try to solve the cache problem and then report back. Let's hope it also solves the gliffy problem.
Hide
Chris Kohlhardt added a comment - 07/Jul/09 12:47 PM

Thanks for the update Jukka.

Do let me know what you find out!

-chris

Show
Chris Kohlhardt added a comment - 07/Jul/09 12:47 PM Thanks for the update Jukka. Do let me know what you find out! -chris
Hide
Jukka Rasi added a comment - 13/Jul/09 4:12 AM

Finally got it working!

First tried to boot our firewall, but that didn't empty the cache. Finally we made a rule to the firewall so that our intra confluence pages don't go through the cache and now it is working again. Just a quick fix, because we are switching to new firewall boxes in a couple of weeks so it would be a waste of time to try to figure out how to empty the firewalls cache fully.

You can now close this "bug" as it seems that the only problem was our firewalls cache.

ps. Hope this helps in the future if someone runs in to similar problems

Show
Jukka Rasi added a comment - 13/Jul/09 4:12 AM Finally got it working! First tried to boot our firewall, but that didn't empty the cache. Finally we made a rule to the firewall so that our intra confluence pages don't go through the cache and now it is working again. Just a quick fix, because we are switching to new firewall boxes in a couple of weeks so it would be a waste of time to try to figure out how to empty the firewalls cache fully. You can now close this "bug" as it seems that the only problem was our firewalls cache. ps. Hope this helps in the future if someone runs in to similar problems
Hide
Chris Kohlhardt added a comment - 13/Jul/09 5:11 PM

Great! Thanks for the follow up Jukka.

-chris

Show
Chris Kohlhardt added a comment - 13/Jul/09 5:11 PM Great! Thanks for the follow up Jukka. -chris

People

Dates

  • Created:
    30/Jun/09 9:14 AM
    Updated:
    22/Sep/09 5:56 PM
    Resolved:
    13/Jul/09 5:11 PM