Ticket #261 (closed defect: wontfix)

Opened 5 years ago

Last modified 3 years ago

When Document::XYZ.pm is not available padre crashes on file open

Reported by: szabgab Owned by:
Priority: major Milestone:
Component: editor Version: trunk
Keywords: Cc:


I have defined a new document type in the Padre::Plugin::XYZ
but have forgotten to implement (or install?) Padre::Document::XYZ
When I tried to open a file belonging to that document type Padre crashed with

Can't locate Padre/Document/XYZ.pm in @INC...

at .../Padre/lib/Padre/Wx/Menu/File.pm line 72

Change History

comment:1 Changed 3 years ago by adamk

  • Status changed from new to closed
  • Resolution set to wontfix

This is a crash that will only occur during plugin development. It's reasonable for it to do so, as Padre is doing exactly as the plugin requests.

I don't wish to add even more error checking weight to the plugin API for things which should never happen under normal circumstances, and when the natural failure mode provides enough information already to fix the problem

Note: See TracTickets for help on using tickets.