Edgewall Software

Changes between Version 10 and Version 15 of Ticket #11648


Ignore:
Timestamp:
Dec 10, 2014, 2:25:49 PM (8 years ago)
Author:
Ryan J Ollos
Comment:

Replying to rjollos:

The WikiPage class has some unique behavior that presents a complication for these changes. When the version is not specified when creating the object (e.g. page = WikiPage(self.env, name)), page.version will contain the latest version of the page, but page.resource.version will be None.

The proposed changes in log:rjollos.git:t11648.2 document this behavior. The behavior appeared to be slightly inconsistent before. The behavior now is that page.resource.version is always None unless a specific version of the page has been requested when initializing the WikiPage object.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11648 – API Changes

    v10 v15  
     1Every model class has a `resource` property and the `Resource` objects are created on access, replacing several cases in which `resource` was an attribute and the `Resource` object was created in the initializer and other class methods.