I am using Drupal 8.3.7. I noticed a previous issue in the queue concerning a very similar problem that was attributed to this bug: #2751495: Uninstalling Scheduler 8.x-1.0-alpha1 deletes all fields on content types but in earlier versions of core. I am using a version of core that supposedly addressed this issue #2754477: Unexpected config entity delete due to dependency calculations, so I'm assuming this is a Scheduler issue.

Upon removing all scheduling values from content, then uninstalling the module, fields are disabled from on the Content type edit form. The content is still viewable but no longer editable because the fields are disabled. This can be recitfied be re-enabling the fields but it is unexpected behavior.

Comments

sassafrass created an issue. See original summary.

sassafrass’s picture

Title: Cannot Uninstall Scheduler without permanently losing body field » Cannot Uninstall Scheduler without disabling all fields
Issue summary: View changes
jonathan1055’s picture

Hi Sassafrass,

Yes this is a pain. It is a known problem and is not a fault in Scheduler. The core issue is #2850973: ConfigEntityInterface::onDependencyRemoval() called with incorrect dependency list so it would be good if you could add a comment there, and hopefully it will get some attention from core maintainers.

Jonathan

sassafrass’s picture

Status: Active » Closed (works as designed)

Okay...thanks. Will do.

jonathan1055’s picture

Category: Bug report » Task
Priority: Major » Normal

Let's hope we get some response on that issue.