Removing invoice module
Posted
#277
(In Topic #63)

Standard member

v10r4
Hey ThereI just removed Invoices from Admin Zone > Structure > Addons > Module Management > Site and error occure making website unusable
I have reproduced error on localhost and everytime it same when Invoices addon is removed.
Stack trace
Greg
Lost in madness.
Posted

Standard member

Posted

Site director

We could try and tackle this, but I don't want to to be honest, as it would go on a long time with similar issues, and we already warn against uninstalling individual modules with this notice:
"Please be advised that this is advanced functionality, intended only for programmers. Using these features can result in data loss or errors on your website. It is strongly recommended that you manage modularity on an addon level instead."
Modern Composr code works via checking installation on an addon level, rather than a module level, so if a module is missing but the addon isn't, it can trip over.
The best approach to 'removing' parts of addons where you still want the rest of the addon is to use permissions. Just use the permission tree editor to remove access to the invoices page.
Regards,
Chris
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Site director

However I have just amended the notice to mention page permissions as a solution, so this may point people in the right direction.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Standard member

Greg
Lost in madness.
1 guest and 0 members have just viewed this.