Ticket #1376 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

Unknown record property / related component "..." on "..."

Reported by: Podhy Owned by: romanb
Priority: minor Milestone:
Component: Record Version: 1.0.0
Severity: Keywords:
Cc: Has Test: no
Status: Pending Core Response Has Patch: no

Description

When I run my subselect which returns true, false or null and I want to access to this property(and the value is null) I've this error Unknown record property / related component "prikazce" on "Autoprovoz". I propose to change in Doctrine_Record::get()

if (isset($this->_values[$fieldName])) {
    return $this->_values[$fieldName];
}

to

if (array_key_exists($fieldName, $this->_values))
{
    return $this->_values[$fieldName];
}

Change History

Changed 10 months ago by Podhy

  • milestone set to 1.0.0-RC1

Changed 10 months ago by guilhermeblanco

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

(In [4813]) fixes #1376. Fixed in both 0.11 and 1.0 branches. Thanks for the patch!

Changed 10 months ago by jwage

  • milestone changed from 1.0.0-RC1 to 1.0.0-RC2

Changed 10 months ago by anonymous

  • milestone New deleted

Milestone New deleted

Note: See TracTickets for help on using tickets.