Ticket #398 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

axiom.item.Item should default schemaVersion to 1 if it is not specified

Reported by: exarkun Assigned to: glyph
Priority: low Milestone:
Component: Addressbook Severity: minor
Keywords: Cc:
Author: Branch:

Description

This way, class definitions need not include it until the first upgrader is written. This will reduce the amount of boilerplate required to write axiom Items classes.

Change History

11/28/05 09:28:03 changed by exarkun

  • type changed from defect to enhancement.

12/26/05 06:04:30 changed by tekNico

See #399 for proposed patch.

12/26/05 19:28:32 changed by exarkun

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

(In [3789]) Apply non-test portions of tekNico's typeName/schemaVersion patch

Fixes #398, #399 Author: tekNiko Reviewer: exarkun

This makes typeName and schemaVersion optional, providing default values of a normalized form of the class name and 1, respectively.

The test changes have been omitted as they are unnecessary and cause breakage in the test suite (by changing the name of a type persisted in a historic database).

jethro@divmod.org