Page 1 of 1

two little bugs fixed in PluginManager

Posted: Wed Mar 11, 2015 4:09 pm
by lasernic
Hi everyone,

here is a little bug fix inside the model of the PluginManager.
There was a little inconsistency regarding the information collected from the learning_plugins table: the field "category" fetched in the SQL query string was ignored during the gather process inside getPluginsInfo, causing the returned array to be inconsistent (the active slot was filled with the description field, for example).
Moreover I also expose the value of the category field in the view of the page (it could be useful when you will have a lot - hope so! - of plugins available).

Another thing I notice is that there is a strange behavoiur regarding the field "priority" which you can set to 0 or 1 from the configurarion panel, but, as a matter of fact, the value of this field shouldn't be user definable...
Maybe here the Forma dev team could shed a light on this issue.

Please find my patch in the zip file in attachment. Just unpack the zip and substitute the original file

- [root_forma]/
---->appCore/
------>models
-------->PluginAdm.php (You can easily find the changes inside the code looking for my name inside the code)

There is another little bug I notice in 1.3 forma release: the file

[root_forma]/plugins/ConferenceTeleSkill/ConferenceTeleskillPlugin.php

must be renamed as

[root_forma]/plugins/ConferenceTeleSkill/ConferenceTeleSkillPlugin.php

otherwise you can happen to see a 500 internal server error (Fatal error caused by the fail in opening that file).

Re: two little bugs fixed in PluginManager

Posted: Wed Mar 11, 2015 9:46 pm
by canelli
Thank for your patch and bug fix
I will review the fix and set it to be included in one of the next releases . I hope to include your fix in the 1.4 release that is now in a beta stage.

I will collect some technical data and answer you

Re: two little bugs fixed in PluginManager

Posted: Fri Mar 20, 2015 6:37 am
by lingjingjing100
3x,you update package,it help me,very well.and formalms is best for my work. thank u very much.
i 'm happy for new version.

Re: two little bugs fixed in PluginManager

Posted: Fri Mar 20, 2015 1:50 pm
by canelli
the proposed fix wil lbe included in forma.lms 1.4 , coming soon
stay tuned

Re: two little bugs fixed in PluginManager

Posted: Sun Jan 03, 2016 6:58 am
by oscarjf
Thank.