To reproduce:

  1. Enable the Blog app
  2. Note that the blog content type now appears at /node/add
  3. Add a blog post
  4. Disable the Blog app
  5. Note that the blog content type still appears on /node/add and the the blog post created in the previous step is also still listed at /content

Comments

hefox’s picture

Content should never disappear, but content type should likely

e2thex’s picture

Assigned: Unassigned » hefox

I think that the content type should be removed, but the content should not be removed from the database

but uninstalling the app should remove the content.

hefox’s picture

hefox’s picture

Removing the content -- batched? cron? There could be a hell uva lot of content.

  • hefox committed db27e14 on 7.x-1.x
    Issue #2322215: Disable content type when feature is disabled
    
e2thex’s picture

I think the tables should be removed on uninstall that should not need a batch

e2thex’s picture

Ok lets stop at Disable content type when feature is disabled

e2thex’s picture

Status: Active » Needs review
hefox’s picture

Status: Needs review » Fixed

core patch added (see linked features issue)

Status: Fixed » Closed (fixed)

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