ADG 

Issue 12: Ensure a virtual method is defined before calling it

Reported by Nicola Fontana, Jan 7, 2010

Do not rely on the fact a parent virtual method is defined: always 
check for NULL values before calling it. For example:

PARENT_ENTITY_CLASS->global_changed(entity);

must be wrote as:

if (PARENT_ENTITY_CLASS->global_changed)
    PARENT_ENTITY_CLASS->global_changed(entity);

Comment 1 by Nicola Fontana, Jan 7, 2010

Status: Started

Comment 2 by Nicola Fontana, Jan 7, 2010

Issue closed by commit 863e016fbc91be012f4a208a422c440371e60007.
Status: Fixed

Comment 3 by Nicola Fontana, Feb 16, 2013

Labels: Type:Bug Type:Defect

Created: 11 years 9 months ago by Nicola Fontana

Updated: 8 years 8 months ago

Status: Fixed

Owner: Nicola Fontana

Labels:
Planned:0.5.5
Priority:Critical
Component:ADG
Type:Bug