Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #636 (closed)

Opened 14 years ago

Closed 14 years ago

Concrete blitz classes do no properly handle subclassing

Reported by: jamoore Owned by: jamoore
Priority: critical Cc:
Sprint: n.a.
Total Remaining Time: n.a.

Description

Currently, subclasses (like Arc-->LightSource) are not properly code generated.

  • getId() and all shared getters are missing
  • copyObject,fillObject, and unload do not delegate to super.

This is partly because of the inheritance hierarchy.

   Arc         <--   ArcI
   LightSource <--   Arc
   LightSource <--   LightSourceI

Change History (3)

comment:1 Changed 14 years ago by jmoore

  • Summary changed from Java concrete blitz classes do no properly handle subclassing to Concrete blitz classes do no properly handle subclassing

r1350 partially fixes for Java. This applies to the other bindings as well.

comment:2 Changed 14 years ago by jmoore

-#foreach( $property in $pojo.getAllPropertiesIterator())
+#foreach( $property in $pojo.propertyClosureForFullConstructor)

should solve this. (Won't let us assign a ArcI to a LightSourceI but we'll have to deal with that later.)

comment:3 Changed 14 years ago by jmoore

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

r1383 closes (though there may be other inheritance issues. Will open a new ticket when they arise)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.187304 sec.)

We're Hiring!