Roundup Tracker - Issues

Issue 2551039

classification
Title: Restore function in rest interface does not seem to work.
Type: behavior Severity: normal
Components: Web interface Versions: devel
process
Status: new Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rouilj
Priority: normal Keywords: rest

Created on 2019-04-03 00:20 by rouilj, last changed 2019-04-03 00:20 by rouilj.

Messages
msg6450 Author: [hidden] (rouilj) Date: 2019-04-03 00:20
From roundup-devel mailing list:

>> I also tried restoring the status with:
>> 
>>   curl -X PATCH -s -u amin:amin --header \
>>      'if-match: "ff974f63e4ebfba1ecf29aa4cc508c15"'\
>>        '.../rest/data/status/9?@op=action&@action_name=restore'
>> 
>> I got back:
>> 
>>   {
>>     "data": {
>>        "type": "status",
>>        "link": ".../rest/data/status/9",
>>        "id": "9",
>>        "attribute": {}
>>     }
>>   }
>> 
>> but it doesn't show up in rest/data/status.
>> 
>> I finally was able to restore it using roundup-admin.

so looks like there may be an issue here.
History
Date User Action Args
2019-04-03 00:20:05rouiljcreate