Problem/Motivation

It is currently quite hard to install simplenews again if you uninstalled it. Especially when developing, that's very annoying.

Proposed resolution

I made the following changes to make that easer:
* All simplenews node type configuration is moved to optional. We don't really require it I think and then we simply re-create what we need when re-installing the module. We don't want to force-delete the data when uninstalling, so we allow that node type to not be deletd.
* Added an enforced dependency on simplenews on the view modes that we add. Those make no sense without the module, so they should be deleted
* Also contains some performance improvements in regards to config schema in simplenews_install().

This possibly fails due a core bug, lets see.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 simplenews-reinstall-2594305-2.patch6.15 KBberdir

Comments

Berdir created an issue. See original summary.

berdir’s picture

Status: Active » Needs review
StatusFileSize
new6.15 KB
berdir’s picture

Status: Needs review » Fixed

This is quite useful for development/testing. Committed.

  • Berdir committed 4046e39 on 8.x-1.x
    Issue #2594305 by Berdir: Allow simplenews to be re-installed after...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.