FogBugz plugin does not work on new wiki pages
Steps to reproduce:
If you save the wiki page, go to the view mode and then back to the edit mode, the plugin works.
I think this is due to the URL of the wiki page. When you create a new page, it is default.asp?W19. When you edit an existing page, it is default.asp?pg=pgWiki&ixWikiPage=1&command=edit.
The Javascript code seems to depend on the longer form, I see a line var matches = loc.match(/ixWikiPage=(\d+)/), which will match nothing on a new page.
This report is the less confusing version of FogBugz URL change causes Balsamiq to stop working, which may be closed now.
- Click on the "New" link in the wiki, to start a new page
- Click on "Insert" -> "UI Mockup"
- Notice that you get the small dialog box "Insert UI Mockup", but not the full-screen editor
If you save the wiki page, go to the view mode and then back to the edit mode, the plugin works.
I think this is due to the URL of the wiki page. When you create a new page, it is default.asp?W19. When you edit an existing page, it is default.asp?pg=pgWiki&ixWikiPage=1&command=edit.
The Javascript code seems to depend on the longer form, I see a line var matches = loc.match(/ixWikiPage=(\d+)/), which will match nothing on a new page.
This report is the less confusing version of FogBugz URL change causes Balsamiq to stop working, which may be closed now.
1
person has this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
The company marked this problem solved.
-
Inappropriate?Hi Jan, thank you for reporting.
I'll contact the FogBugz team to find the best solution to this problem. Any update will be posted here.
Ciao
Marco -
Inappropriate?It seems there is a g_ixWikiPage variable that is set to the Wiki page number, even on new pages, so maybe you can use that instead of parsing the URL?
-
Inappropriate?This was my first attempt to describe the problem, but it is very confusing. Val merged the topic with this one, so this is only here for reference:
I can't open the Balsamiq editor anymore from wiki pages. The Javascript seems to parse the url for the wiki page number by looking at ixWikiPage. However, if I am at wiki page nr. 14, the url is not default.asp?pg=pgWiki&ixWikiPage=14, it is default.asp?W14. I don't know whether this is a recent change, or whether it is something I can change (in the hosted version).
I’m frustrated
-
Inappropriate?Hi Jan, after some investigation with FogBugz team, I decided to support the URL of new Wiki pages. It means that Mockups will work properly on new Wiki pages. :-)
The fix will be released with the next upload of Mockups for FogBugz in the plugin gallery of FogCreek. I don't know the timing right now but we can't do it immediately, a couple of weeks is my estimate.
I will post here any update, anyway.
Ciao
Marco -
As workaround, you can Save a new Wiki page and then Edit it. Everything must work as expected. -
Inappropriate?Hi Jan, the fix is now live in the main branch: http://www.balsamiq.com/blog/2010/01/...
Loading Profile...



