Custom JavaScript file not loaded on deploy .bar file on bonita portal!

Hello,
following this example http://community.bonitasoft.com/blog/how-add-custom-javascript-your-bonita-bpm-forms#comment-36746
running from bonita studio works perfectly , but when i build the process and install .bar file on my bonita portal the same script cannot load… Can you help me?

Thanks in advance.

1 Like

Hi,

Unfortunately, you hit a bug.
The workaround is to open the exported .bar and put the resources manually inside it. (The .bar is in fact a classic archive)

Regards,

I work with eder.roger.souza and I must add that we’re running Bonita Community version 6.3.1 (on the portal server)

Hello all, could you please check if you still have this issue with 6.3.3 ?

I tested it and works fine!! thanks for reply and help us with this issue!

Best regards!

New version 6.3.3 they already fixed!!

I have the same probleme :
http://community.bonitasoft.com/answers/bug-ajout-de-fichier-javascript-ressources-qui-ne-chargent-pas

In my process, I think it doesn’t work because of the process is called by a Call Activity Task.

Anyone can help us!

Thanks!!

Hi,
I looked inside the .bar file and found my external script at “/resources/forms/resources/application/javascript/” but they does not load on html.
I searched in the outputed html and found no script tag loading it. I think the bug is something else…
Thanks

A Aurélien stated, we are aware of this issue and will fix it asap.

Thanks for the consideration and support!