Ticket #3002 (closed defect: fixed)

Opened 8 years ago

Last modified 5 years ago

MetaField::Compound isn't subclassable

Reported by: tdb01r Owned by: cjg
Priority: unset Milestone: EPrints 3.2.3
Component: - Version: 3.0
Severity: normal Keywords:
Cc:

Description

The API does some field-specific things based on a compound field being of type 'compound' which results in obscure breakage when you try to subclass ::Compound. I want to do this to create specific Compound-like behaviours (e.g. hiding an automatic sub-field).

Change API to use ->isa( "EPrints::MetaField::Compound" ) ?

Change History

Changed 8 years ago by tdb01r

  • milestone changed from EPrints 3.0.3 to EPrints 3.1 beta

Changed 7 years ago by cjg

  • milestone changed from EPrints 3.x (new features go here) to EPrints 3.0.x (bugs go here)

Changed 5 years ago by tdb01r

  • status changed from new to closed
  • resolution set to fixed

Resolved in 3.2.

Note: See TracTickets for help on using tickets.