Ticket #1514 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

Modifying user name loses connection with revisions

Reported by: dread Owned by:
Priority: awaiting triage Milestone: ckan-v1.6
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

If you edit your user name, the number of revisions you made returns to 0. This is because in the Revision object, the user's name is stored, rather than the user's ID.

rgrp: We can reconnect that pretty easily (and have a longer term solution that involves not using the usernames but the userids in in the Revision objects so we don't hvae this problem in future!)

Change History

comment:1 Changed 2 years ago by rgrp

Thanks for registering this. This was known in the change that allow editing of usernames. Suggestion there was a bigger fix which was to do, asap, a switch to change all revisions to use user id rather than username. If we do this now that will save us a lot of pain ...

comment:2 Changed 2 years ago by rgrp

  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone set to ckan-v1.6

This is now a duplicate of #1534

Note: See TracTickets for help on using tickets.