It was found that if you have lower case class names in
your Table.dtd xml files, then Pymerase creates
duplicate class entries in the pymerase data structure.
A temporary fix is to just capitalize the first letter
of all Class names (tables names) including the ones
named in the foreign_key attributes.
Logged In: YES
user_id=122283
Many other languages are case sensitive, and I think that pymerase should
be as well. This bug comes from a mismatch in the case between the name of
a class and an association pointing to it.
I think the proper solution is to include error handling to complain about the
mismatch. (For instance see if there are were classes defined as an
association, but without ever actually being fully defined so we can flag that
as an error).
Logged In: YES
user_id=552216
I agree with your conclusion, but this particular error is
caused by nameMangling. If you declare a class as lower case
like 'dvd', you will end up with two class objects, one with
the name 'dvd', and the other with the name 'Dvd'. Basicly
every lowercase class will get duplicated.