cancel
Showing results for 
Search instead for 
Did you mean: 

JavaScrip Console for 5.0.C

gcastillo
Champ in-the-making
Champ in-the-making
Hi.

¿Are there JavaScript Console for Alfresco 5.0.C version ?  .  


In code.google.com/p/share-extras only see for 4.x version .


thnks in advance

8 REPLIES 8

afaust
Legendary Innovator
Legendary Innovator
Hello,

the JavaScript Console for 4.x should theoretically be compatible wih 5.0 as well. If not, you may need to try a newer version than available at code.google.com. The Share Extras have mostly moved to Github. There most recent version of the JavaScript Console can be found <a href="https://github.com/share-extras/js-console/releases">on the releases page</a> within the Github project.

Regards
Axel

cdw
Champ in-the-making
Champ in-the-making
Hello,

unfortunately also the version on Github dates back to 2013. I tried to install it on 5.0.b but failed.
I would also be happy to get a newer version or some hints how to get it running …

Best regards,
Daniel

afaust
Legendary Innovator
Legendary Innovator
Hello,

I just tried the JavaScript console 0.6.1-rc1 on Alfresco Enterprise 5.0 which should be comparable to Community 5.0.c and it worked without any issues. What kind of failure did you encounter exactly?

Regards
Axel

cdw
Champ in-the-making
Champ in-the-making
Hello,

I tried to compile the most recent sources from github. It worked fine for the Share module (beside a lot of warnings), but failed for the repo module: "mvn clean package" leads to a compilation error as "JsConsoleDump" cannot be found.
(Unfortunately I cannot try the binaries any more, because I installed a compiled version in an earlier Alfresco version and the binaries are now seen as an unsupported "downgrade").

afaust
Legendary Innovator
Legendary Innovator
Hmm, if you install the same binaries, it should not read as an unsupported downgrade - unless you installed a later development build. You can also avoid the unsupported downgrade warning if you delete the JavaScript Console module node in the system://system store - this is where Alfresco tracks the module versions and removing the data deactivates the warning. This is not recommended generally, but for JavaScript Console, it would be safe to do…

The issue with the JsConsoleDump should be easy to solve - douglascrp did it in his fork of the JavaScript Console. See <a href="https://github.com/share-extras/js-console/issues/30">this GitHub issue</a> and the linked commit.

Regards
Axel

cdw
Champ in-the-making
Champ in-the-making
Thanks for the answer.
Indeed, I just found the reason (two source paths) on my own and fixed it by simply copying the file. Now it works. Hooray. 🙂

douglascrp
World-Class Innovator
World-Class Innovator
Thanks for mentioning my "fix"

douglascrp
World-Class Innovator
World-Class Innovator
I've just tried Javascript Console 0.6.0 on Alfresco Community 5.0.c, and it works.

Get the latest source code from github, package it and install it.