Field

Ticket #15 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

Handle missing and renamed plugins

Reported by: marc Assigned to: marc
Priority: minor Milestone: release
Component: core Version:
Keywords: Cc:

Description (Last modified by marc)

Right now a missing referenced plugin (or any other missing class) causes a sheet to fail to load correctly and appear blank. This must be fixed before plugins can be installed, deinstalled and refactored. We can provide mock interfaces for iPlugin (and quite possibly DefaultOverrides? as well) that will allow the sheet to load, but we need to make sure that those missing classes remain referenced on subsequent saves as well.

Additionally, we need at least a popup saying "missing plugin". It would also be nice to be able to send us to a plugin registry download page or something.

Alternatively, we sould do a regexp based sweep over the file first, to warn the develoepr that it isn't going to load, and give them an opportunity to download and install the correct plugin ?

Change History

01/20/08 11:41:08 changed by marc

  • description changed.

01/20/08 11:41:54 changed by marc

  • owner set to marc.
  • priority set to blocker.
  • component set to core.
  • description changed.
  • type set to defect.

01/20/08 15:25:16 changed by marc

  • status changed from new to assigned.

See changeset:5 for a partial solution. This way sheets which reference non-existing plugins generally load. However, non-existing classes in general will get turned into generic VisualElements, which might be confusing. And, the loader is never notified.

12/12/08 09:05:10 changed by marc

  • priority changed from blocker to minor.
  • severity changed.
  • type changed from defect to enhancement.
  • description changed.
  • milestone set to release.

That said, we haven't had any trouble turning on and off the processing plugin

01/31/09 18:12:17 changed by marc

  • status changed from assigned to closed.
  • resolution set to fixed.

Closing this — what we really have a problem with isn't missing plugins it's missing classes. The rollback history plugin is working well, all we really need is a good error message that the sheet didn't load and that you can roll back if you want to.