Roundup Tracker - Issues

Issue 2551141

classification
roundup-admin returns no such class when restoring item with duplicate key
Type: behavior Severity: normal
Components: Command-line interface Versions:
process
Status: fixed fixed
:
: rouilj : rouilj
Priority: low :

Created on 2021-06-06 03:37 by rouilj, last changed 2021-06-06 03:45 by rouilj.

Messages
msg7258 Author: [hidden] (rouilj) Date: 2021-06-06 03:37
If I have duplicate users with the same name. user22 is retired and 
user24 is active. Trying to restore user22 reports:

  roundup> restore user22
  Error: no such class "user"

  Usage: restore designator[,designator]*
        Restore the retired node specified by designator.

        A designator is a classname and a nodeid concatenated,
        eg. bug1, user10, ...

        The given nodes will become available for users again.

It should report that there is already a user with the same key
value (username in this case) that is active.
msg7259 Author: [hidden] (rouilj) Date: 2021-06-06 03:45
Fixed: 

changeset:   6430:ff4ab763f47c

Added test cases for retire/restore in roundup-admin while I was there.
History
Date User Action Args
2021-06-06 03:45:30rouiljsetstatus: new -> fixed
resolution: fixed
messages: + msg7259
title: roudup-admin returns no such class when restoring item with duplicate key -> roundup-admin returns no such class when restoring item with duplicate key
2021-06-06 03:37:14rouiljcreate