Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1735 closed defect (duplicate)

Extending extended objects fail

Reported by: tepehe Owned by: piotras
Priority: major Milestone:
Component: Midgard Core Version: 9.09 Mjolnir
Keywords: Cc:

Description

Example schema that causes segfault

<?xml version="1.0" encoding="UTF-8"?>
<Schema xmlns="http://www.midgard-project.org/repligard/1.4">
    <type name="com_rohea_account_db" extends="midgard_person">
        <property name="uilanguage" type="string" />
    </type>
    <type name="net_kk_account_db" extends="com_rohea_account_db">
        <property name="extuserid" type="unsigned integer" index="yes" />
    </type>
</Schema>

Change History (4)

comment:1 Changed 7 years ago by tepehe

If I try to access object net_kk_account_db I get segfault. It seems that only com_rohea_account_db's properties are available.

If I initialize com_rohea_account_db, object has all the midgard_person's properties.

comment:2 Changed 7 years ago by piotras

  • Milestone changed from 9.09.3 Mjolnir to 10.05.1 Ratatoskr
  • Status changed from new to assigned

comment:3 Changed 7 years ago by bergie

  • Resolution set to duplicate
  • Status changed from assigned to closed

comment:4 Changed 7 years ago by anonymous

  • Milestone 10.05.1 Ratatoskr deleted

Milestone 10.05.1 Ratatoskr deleted

Note: See TracTickets for help on using tickets.