CommandBox docs left menu links 404

Hi,

http://apidocs.ortussolutions.com/commandbox/1.0.0/index.html?commandbox/commands/coldbox/create/app.html

If you click the left menu links on this page I get 404’s. Just wanted to check if you see the same issue or it’s something on my end.

All the links work for me. The left nav is loaded in a frame however, so you link may not have dropped in in the same exact page you had.

Can you give what steps you clicked on to get to that page? Did you use the search?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I was able to reproduce. http://i.imgur.com/egTn94j.png

Start here: http://apidocs.ortussolutions.com/commandbox/1.0.0/index.html

Click Logbox
Click Game
Now every link on the nav goes to a 404

Hmm, still works find for me. What browser are you using? I’m in Chrome.
Also, when you said “click logbox” did you mean in the left nav or in the main frame?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Hmmm, it is something on my end. I just read your blog post - http://www.codersrevolution.com/blog/commandbox-a-tool-of-biblical-porportions#comments and clicked on scaffold sites.

Anyways, I have some non tracking plugins in firefox so that’s probably the cause. I just tried it in chrome and works perfect.

Sorry, didn’t think to check some other browsers before posting

It’s always possible we have a bug that only affects some browsers :slight_smile: What browser/version shows the issue?

The URL appears to be concatenating the path extra times so it might be the way the browser handles the “root” directory in JavaScript.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Interesting, after I just saw Don’s post I tried IE10 on windows and it works. Firefox on windows doesn’t work. It’s a different OS firefox than I originally tried. No plugins on that firefox.

Using Firefox 35.0.1 on windows, active plugins: adblock plus

Firefox 35.0.1 on windows 7. Same on Linux

Confirmed on FireFox. I’m not sure which browser is right, but FireFox handles the window.parent.frames[‘classFrame’].location property totally differently than Chrome. In Chrome, when you call the assign() method, it reuses the same base URL, but FireFox just keeps appending on to the previous directory.

Can you put in a ticket to fix that please? Feel free to take a whack at it. The offending code is here:

https://github.com/Ortus-Solutions/commandbox/blob/master/apidocs/strategy/commandbox/resources/templates/overview-frame.cfm#L141

To generate the API docs, start a server in the root of the repo and hit this page:
https://github.com/Ortus-Solutions/commandbox/blob/master/apidocs/commandDocs.cfm

Which would look something like
http://localhost:port/apidocs/commandDocs.cfm

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com