Removing invoice module

Post

Posted
Rating:
#341 (In Topic #120)

v10r4

Hey There

I 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

Post

Posted
Rating:
#342
Unfortunately same goes for Download addon, tho if i install it back then whole website goes back to normal (note if i close management page I can't get back to it)


chat


quizzes


Guess if i test them all results will be quite the same.

Greg

Post

Posted
Rating:
#343
Hi,

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

Post

Posted
Rating:
#344
The other reason I want to leave it is because the code'd be messier and less performant if doing both addon and module checks.

However I have just amended the notice to mention page permissions as a solution, so this may point people in the right direction.

Post

Posted
Rating:
#350
Ah right, sorry I must have missed this warning somehow :/ thanks for info tho.

Greg

2 guests and 0 members have recently viewed this.