Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

muk_mail_branding error when uninstalling #9

Closed
gaikaz opened this issue Apr 26, 2019 · 3 comments
Closed

muk_mail_branding error when uninstalling #9

gaikaz opened this issue Apr 26, 2019 · 3 comments
Assignees

Comments

@gaikaz
Copy link

gaikaz commented Apr 26, 2019

I was having problems uninstalling module muk_mail_branding. Looked in past issues on this repository and this one #4 is exactly the problem I'm having.
@keshrath I found a way to reproduce it in a fresh install:

  1. Create a fresh standard database
  2. Install muk_mail_branding
  3. Uninstall muk_mail_branding
  4. Install muk_mail_branding again
  5. Try to uninstall. Should give the error.

Now I know this looks silly, but the point is, that it only uninstalls once. My guess is, it adds some records that don't get removed on uninstall and adds them again on second install, at which point it starts to fail.

Important:
I started with a different error:
Uncaught Error: ) undefined as prefix when trying to go to Settings > Technical > Scheduled Actions
This error starts appearing right after step 3 of the issue reproduction steps described.
So simply:

  1. Install the module
  2. Uninstall the module
  3. Go to Settings > Technical > Scheduled Actions

I think these errors are somehow connected. Hope this gives a you a head start on finding the cause.
Thank you.

@keshrath
Copy link
Member

Thanks for the info. I'll try to test it as soon as I get to it.

@keshrath keshrath added the 12.0 label Apr 29, 2019
@keshrath keshrath self-assigned this Apr 29, 2019
@keshrath
Copy link
Member

keshrath commented May 1, 2019

206a02a

@keshrath keshrath closed this as completed May 6, 2019
@gaikaz
Copy link
Author

gaikaz commented May 7, 2019

Sorry for delayed response. Now I tested the fixed version with my reproduce steps on a clean install and it is fixed. That's great.

But now I have some DB instances, that have the module installed when it was broken. Even with updated version, the module can't be uninstalled, the "Scheduled actions" page still can't be accessed.
I tried clicking "Update" on the modules, but that doesn't help.

Could you give any tips, what could be done on such database? Would somehow manually deleting the mail.ir_cron_module_update_notification record do anything?

Thanks again. Hope this is not too much to ask.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants