fatty- / daisy-pipeline

Automatically exported from code.google.com/p/daisy-pipeline
0 stars 0 forks source link

script links does not work for the web ui in server mode #307

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. upload a file on the new job page
2. select a script

What is the expected output? What do you see instead?
The script options should appear.
They don't.

Original issue reported on code.google.com by josteinaj@gmail.com on 30 Apr 2013 at 9:22

GoogleCodeExporter commented 9 years ago
The issue is that there's a ":" in the script ids. Will have to make sure that 
all the jQuery/JavaScript selectors can handle script ids with ":" in them.

Original comment by josteinaj@gmail.com on 30 Apr 2013 at 9:38

GoogleCodeExporter commented 9 years ago
Fixed in commit bdddf3a294 
(https://github.com/daisy-consortium/pipeline-webui/commit/bdddf3a294be9ea14c96c
d7b3e36f7075b3514de)

* colons in class names had to be escaped as \x3A
* colons in URLs had to be encoded as %3A

Original comment by josteinaj@gmail.com on 27 Jun 2013 at 9:52

GoogleCodeExporter commented 9 years ago
Thanks, works for me too now.

Original comment by bertfrees on 15 Jul 2013 at 9:50

GoogleCodeExporter commented 9 years ago
Great.

It worked for me on localhost but after deploying to a server it didn't work 
anymore. I found that there's a bug with Play! 2.1.1:
https://github.com/playframework/Play20/issues/976
https://groups.google.com/forum/#!topic/play-framework/ttGf-WyMHNM

I've downgraded to Play! 2.1.0 in the latest webui commit which fixes the issue 
again:
https://github.com/daisy-consortium/pipeline-webui/commit/6d6e0e60ae2ef538f838fb
32816b01ce752f00db

Original comment by josteinaj@gmail.com on 15 Jul 2013 at 10:44