Ticket #1238 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

Viewing a package @date misses non-PackageRevisions

Reported by: dread Owned by: kindly
Priority: major Milestone: ckan-sprint-2011-10-28
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

There's a problem with getting old versions of packages using @date. The query looks for the PackageRevision? related to the date, but ignores TagRevisions? etc.

So for example if you compare this table: http://ckan.net/package/history/osm with this view: http://ckan.net/package/osm%402010-11-30%2000%3A21%3A49.627830 you actually see the 2010-01-13 11:13 revision - the wrong revision.

Change History

comment:1 Changed 3 years ago by kindly

I cannot reproduce this, to me it looks like it does get the correct revision. If you for example look at the package a millisecond before i.e http://ckan.net/package/osm%402010-11-30%2000%3A21%3A49.627829 the tags are no longer there that were added in that revision.

comment:2 Changed 3 years ago by dread

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

Apologies, I have a problem instead with the way I identify the revision in #1236.

Note: See TracTickets for help on using tickets.