Page 1 of 1

Problem with multiple plugins install

Posted: Sun Sep 14, 2014 8:25 am
by beezbaz18
Hi,

I have a problem with multiple plugins installation in 2.5.2 community edition:
1) I have installed a fresh PM 2.5.2 on ubuntu 12.04 LTS
2) I have created 3 plugins: plugin1 plugin2 plugin3 (following the documentation)
Code: Select all
./gulliver new-plugin plugin-name
3) I have created the symbolic links in /opt/processmaker/workflow/engine/plugins
4) Packed each plugins into tar
5) Import the three plugins into PM

If I enable one of the three plugins I can see the plugin menu item in the HOME pane (which is fine)
If I enable 2 or 3 plugins the HOME pane is empty
plugin-problem.jpg
plugin-problem.jpg (35.65 KiB) Viewed 15411 times
Is this a bug or is there anything that I don't see.

Thanks

Beez Baz

Re: Problem with multiple plugins install

Posted: Mon Sep 15, 2014 8:41 am
by liliana
Hi,

You nave top create the symbolic link for each plugin created, not only the plugin folder but also the PHP file. In other words you have to create 6 symbolic links.

Let me know if this information helps you.

Regards,

Re: Problem with multiple plugins install

Posted: Mon Sep 15, 2014 8:52 am
by beezbaz18
Lilliana,

I did create the symbolic links to the PHP files as you mentioned I just forgot to metion it in my original description.
Any other suggestions? Is this a BUG?

Regards,

Beez

Re: Problem with multiple plugins install

Posted: Mon Sep 15, 2014 9:02 am
by liliana
Did you check folder permissions?

Re: Problem with multiple plugins install

Posted: Mon Sep 15, 2014 9:29 am
by beezbaz18
Yes I did!

I checked again just to be sure. I even checked the way described in the documentation (copying the files instead of symbolic links).

You can see in the screen capture that the plugin names are at the top bar but the HOME is empty. When disabeling 2 out of the three plugins in the ADMIN will show a correct HOME pane.

Re: Problem with multiple plugins install

Posted: Mon Sep 15, 2014 10:07 am
by beezbaz18
Just one mistake in my description, each combination of two plugin work never a third one.
An example of two enabeled:
plugin-problem1.jpg
plugin-problem1.jpg (66.95 KiB) Viewed 15400 times

Re: Problem with multiple plugins install

Posted: Tue Sep 16, 2014 5:14 am
by beezbaz18
This is getting more complicated :-(

1) Installed three plugins
2) When all three are enabled empty HOME pane
3) Disabled 1 out of the three and the HOME pane returned with the two plugins
4) Used Firefox v32 on ubuntu and Firefox 32.01 on windows 7 64
5) Tried the same with Chrome Version 37.0.2062.120 (64-bit) on ubuntu and Chrome Version 37.0.2062.120 m on windows 7 64 and the result is an empty HOME pane with anything more than one plugin enabled.


Any suggestion?

Re: Problem with multiple plugins install

Posted: Tue Sep 16, 2014 8:44 am
by liliana
Hi,

Could you try to create just one plugin? and tell me if you are able to see all pages?

Re: Problem with multiple plugins install

Posted: Tue Sep 16, 2014 9:51 am
by beezbaz18
Yes one plugin works (all browsers)
Two plugins works only on Firefox (not on chrome)
Three plugins doesn't work (EMPTY HOME PANE) all browsers

Re: Problem with multiple plugins install

Posted: Tue Sep 16, 2014 1:04 pm
by liliana
Ok so I'm afraid this is a bug, could you report it on this page giving all the possible details?.

Regards,

Re: Problem with multiple plugins install

Posted: Tue Sep 16, 2014 1:15 pm
by beezbaz18
I am oppening a bug report ...
Thanks,

Re: Problem with multiple plugins install

Posted: Thu Sep 18, 2014 9:33 am
by liliana
Hi,

Thanks for filling a report about this. I have a question, did you create the three plugins with the same name and characteristics?

Re: Problem with multiple plugins install

Posted: Thu Sep 18, 2014 9:45 am
by beezbaz18
Same characteristics but different names. Plugin1,plugin2and plugin3. On the original processmaker install I found this problem with my plug-ins, so I have created a new environment to see if this is something I did. The same problem happened on the test clean environment with those 3 plug-ins.

Re: Problem with multiple plugins install

Posted: Thu Sep 18, 2014 10:24 am
by liliana
Hi,

It is probably that the 3 plugins want to do the same action. So could you please create 3 plugins but with different characteristics?

Re: Problem with multiple plugins install

Posted: Thu Sep 18, 2014 10:31 am
by beezbaz18
can you give me an example for different characteristics?

Re: Problem with multiple plugins install

Posted: Mon Sep 29, 2014 11:28 am
by beezbaz18
Hi Liliana,

Any suggestions in order to solve the problem?
My test plugins are just the demo plugins provided by the system when using yes/yes ... when creating them.

Regards,

Beez

Re: Problem with multiple plugins install

Posted: Mon Oct 20, 2014 8:39 am
by beezbaz18
Did anyone encountered the problem with multiple plugins install described above in 2.5.2 community edition?

Regards,

Beez

Re: Problem with multiple plugins install

Posted: Mon Oct 27, 2014 6:33 am
by beezbaz18
Hi Liliana,

Any progress with this issue, did you here anything from R&D http://bugs.processmaker.com/view.php?id=15922.

Best Regards,

Beez

Re: Problem with multiple plugins install

Posted: Wed Mar 11, 2015 11:56 am
by lmccpedro
Hi beezbaz18,

we have more than 3 plugins and all works. We created in version 2.0.43 and we could use it on 2.5.2. All pllugins with different expected behaviors.
The truth is that we had problems with one that was working on 2.0.43 and on 2.5.2 was very problematic.
We resolved it commenting some code on functions "install()" and "setup()" in the file "<pluginname>.php", that is outside of plugin folder.

Hope it helps.

Re: Problem with multiple plugins install

Posted: Sat Sep 10, 2016 4:21 pm
by Bosatzu
lmccpedro wrote:Hi beezbaz18,

we have more than 3 plugins and all works. We created in version 2.0.43 and we could use it on 2.5.2. All pllugins with different expected behaviors.
The truth is that we had problems with one that was working on 2.0.43 and on 2.5.2 was very problematic.
We resolved it commenting some code on functions "install()" and "setup()" in the file "<pluginname>.php", that is outside of plugin folder.

Hope it helps.

Hi! i haver the same problem now, could you help me out to fix this problem?

I saw that you commented some code on install() and setup, could you tell me which part of the code i have to commet?

I really thank you for your help

Re: Problem with multiple plugins install

Posted: Sun Sep 11, 2016 9:15 pm
by Bosatzu
beezbaz18 wrote:Hi Liliana,

Any suggestions in order to solve the problem?
My test plugins are just the demo plugins provided by the system when using yes/yes ... when creating them.

Regards,

Beez

Hi!

I would like to know if you could fix this bug because i have the same problem with PM 2.8

Re: Problem with multiple plugins install

Posted: Tue Sep 13, 2016 6:20 pm
by amosbatto
Bosatzu,
Can you please file a bug report and attach your plugins to the bug report so the Developers can look at them and see what is happening to cause this problem. Also post your bug number here so I make sure it gets looked at.

Re: Problem with multiple plugins install

Posted: Wed Sep 14, 2016 9:58 pm
by Bosatzu
amosbatto wrote:Bosatzu,
Can you please file a bug report and attach your plugins to the bug report so the Developers can look at them and see what is happening to cause this problem. Also post your bug number here so I make sure it gets looked at.

Hi amosbatto

I made the report, this is the link: http://bugs.processmaker.com/view.php?id=21296

I made a video when you can see the bug: https://youtu.be/ynwrUdk6hoo