Ticket #2293 (closed defect: fixed)

Opened 2 years ago

Last modified 23 months ago

Rename of Group results in disappearance of associated datasets from group page

Reported by: rgrp Owned by: ross
Priority: awaiting merge Milestone: ckan-sprint-2012-06-25
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

Rename of group makes all the datasets associated with the group disappear on the group listing page. (But they are still there if you look at edit).

Suspect this is because we are using group name (rather than id!!) in the search index ...

As group rename should be rare I'm marking this as minor though actual effect is major.

Assigning to rossjones for review and cost assessment.

Change History

comment:1 Changed 2 years ago by rgrp

  • Type changed from enhancement to defect
  • Summary changed from Rename of Group loses all to Rename of Group results in disappearance of associated datasets from group page

comment:2 Changed 2 years ago by ross

  • Milestone changed from ckan-v1.7 to ckan-v1.8

comment:3 Changed 2 years ago by ross

  • Owner changed from rossjones to ross
  • Status changed from new to accepted
  • Milestone changed from ckan-v1.8 to current-ckan-sprint-2012-06-25

comment:4 Changed 2 years ago by ross

Intercepting the group name change and forcing a reindex of all of the datasets within that group seems like the obvious approach (rather than more lookups by ID after processing search results).

Should take less than a day.

comment:5 Changed 23 months ago by ross

  • Priority changed from minor to awaiting merge

comment:6 Changed 23 months ago by ross

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.