Backport or not ?
warlord at MIT.EDU
Fri Jun 22 09:15:12 EDT 2012
Geert Janssens <janssens-geert at telenet.be> writes:
> I wasn't very awake apparently yesterday when I wrote my first
> message. David's mail triggered me to actually *test* how 2.4.10 would
> react on the new data format:
> - It opens the file without any warning
> - The scheduled transaction is missing the parameter (weekly adjust)
> - But if you don't change the scheduled transaction, the parameter
> won't get lost either: reopening the file again in trunk shows the
> parameter is still saved.
> - Back to 2.4.10: when exiting the application, it spews a few
> assertion failures in g_hash_for_each:
> CRIT <GLib> g_hash_table_foreach: assertion `version ==
> hash_table->version' failed (3 times)
> - Trying to modify or create a scheduled transaction in 2.4.10 with
> the new data fails with a vague error that the database transaction
>> I think the rule is that 2.4.11 should be able to read the new format, but shouldn't write it, but that seems a bit stupid because it doesn't fix the bug. I suppose we could do something with KVP where 2.4.11 writes (and reads) the weekend_adjust value to KVP and trunk knows to look there, but it would be an ugly, complex hack.
> I can see how that rule is useful for new features, but I think it
> doesn't make sense for a bugfix. GnuCash is supposed to save that
> parameter. The fact that it doesn't is a bug, reported against 2.4.10.
> Also given that
> - 2.4.10 opens the new format just fine (except for an assertion when
> - 2.4.10 doesn't lose data (it ignores the parameter, but it's still
> there and it prevents the user from doing data destroying actions)
> I'm pretty tempted to backport this as is.
> The only useful addition I can think of would be a sensible warning,
> instead of the vague error.
Question: Is there going to be a 2.4.11?
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel