https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40083

Brendan Lawlor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #183486|0                           |1
        is obsolete|                            |

--- Comment #3 from Brendan Lawlor <[email protected]> ---
Created attachment 184907
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184907&action=edit
Bug 40083: InstallPlugin actually runs "install" method.

When developping a plugin or installing from the script rather than zip method,
the plugin "install" method is not run.
This can result in some necessary component (like tables, configuration) not
being setup, resulting in errors at plugin run.

Test plan :
- Install the kitchensink plugin by cloning the source and adding the directory
to "koha-conf.xml" with the plugin_dir configuration
- Run misc/devel/install_plugins.pl
- Check the plugin table "mytable" is not created in the DB (check the code in
the "install" method of kitchensink plugin)
- apply patch
- run misc/devel/install_plugins.pl again
- the plugin table should be created according to the install method.

Signed-off-by: Brendan Lawlor <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to