Plugin not listed as "Available" with 1.3.2 ... | Forum

Michael Burns Apr 9 '12
I have a development site and a production site that I am using a privately developed plugin on. The plugin functions without issue on 1.3.1.

I installed 1.3.2 on my production site using Softaculous. I then added a custom theme which worked fine. I then added my plugin which Oxwall reported as successful. However, the plugin was not shown on the "Available Plugins" list though it does exist in the ow_plugins folder with the same ownership and permissions as the other plugins in the ow_plugins folder.

I then upgraded my development site from 1.3.1 to 1.3.2 using the standard upgrade process to see if I could replicate the issue. At the time of the upgrade, my custom plugin was installed and active. After the upgrade was completed, the plugin continued to function normally. I then uninstalled my plugin to see if it would show on the "Available Plugins" list. It did not.

I have both OW_DEBUG_MODE and OW_DEV_MODE enabled on both sites. No errors are being reported.

Anyone have any ideas what may be going on, what to look for?

(Note: I originally posted this at http://www.oxwall.org/forum/topic/4005. However, I deleted that and posted here which seems more appropriate.)
The Forum post is edited by Michael Burns Apr 9 '12
Team
Michael I. Apr 10 '12
Michael, can you tell me what plugin is that? Is it available for downloading from the Store?
Michael Burns Apr 10 '12
No, it's a custom plugin I am developing. Everything worked fine for 1.3.1. And, everything worked fine when I upgraded a system to 1.3.2 where the plugin was installed and active. It's only after I uninstalled it or performed an "Add New" on a freshly installed system that it is not showing in the "Available Plugins" list.
Michael Burns Apr 13 '12
I was able to resolve the problem by looking through the Oxwall code. I found that several elements of the plugin.xml are "required", otherwise the plugin is ignored. I had removed one required element. I evidently had not done an "Add New" or "Uninstall" since making that change.

Anyway, the "required" elements are:

key, name, description, license, author, build, copyright, licenseUrl

If any of these are missing, the plugin will be ignored.
Team
Michael I. May 3 '12
Useful information for plugins developers.
Team
Michael I. May 3 '12
Topic was moved from Bug reports and troubleshooting.