#1966 - Possible addon install issue during Composr installation or setup wizard
| Identifier | #1966 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Possible addon install issue during Composr installation or setup wizard |
| Status | Closed (rejected) |
| Handling member | Chris Graham |
| Addon | General / Uncategorised |
| Description | I ran into a problem with the Purrrr addon where it wasn't fully installed after completing the Composr installation and running through the setup wizard. It was as if the install() function in the addon_registry hook was never run and the images were never put into the iotd database table. I uninstalled the addon and reinstalled it and that fixed the missing images in the database table.
I haven't yet traced it through the install process, so I'm not sure exactly where it failed. And I haven't gone through other addons yet to see if others were similarly affected. In the process of uninstalling and re-installing the addon, I did run into a stack trace relating to copyright_attribution (like the one here: http://compo.sr/tracker/view.php?id=1946) and applied the same fix in the inform_about_addon_install() function. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
In other words, when the Purrrr addon is installed in Step 7, the module_installed() function looks for iotds in the (cms10_)modules database table, doesn't find it, and returns false; the iotds module doesn't get put into the modules database table until Step 8.
I'm wondering if maybe the site modules installation in Step 8 should be moved to Step 7, and the addon_registry hook installation at the end of Step 7 should be moved to Step 8?