Bug 1012389 - changes to retention tag name are not persisted, impossible to change tag name
Summary: changes to retention tag name are not persisted, impossible to change tag name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: develop
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 0.16
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-26 11:51 UTC by wangjing
Modified: 2018-02-06 00:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-17 03:01:53 UTC
Embargoed:


Attachments (Terms of Use)

Description wangjing 2013-09-26 11:51:03 UTC
Description of problem:
can't update Retention tag but return ok

Version-Release number of selected component (if applicable):
Version 0.15.0rc1 beaker-devel

How reproducible:
always

Steps to Reproduce:
1. admin login.
2. page: Admin->Retention tags
3. click to open one tag, and update the Tag name.
4. click button 'Save'

Actual results:
return ok, but the tag name was not updated.

Expected results:
hope the feature works, or make the Tag value cannot be updated if it is by define.

Additional info:

Comment 2 Dan Callaghan 2013-09-27 04:04:24 UTC
As far as I can see this has never actually worked, so not a regression.

Comment 3 Nick Coghlan 2013-09-27 05:58:05 UTC
Turns out there's an underlying issue in the database model that means this can't be fixed in a maintenance release - bumping to 0.16

Comment 4 Dan Callaghan 2013-09-27 06:43:50 UTC
Patch to make tag name changes take effect:

http://gerrit.beaker-project.org/2309

Patch to allow "expire in days" field to also be edited:

http://gerrit.beaker-project.org/2310

The latter is important for example if the admin changes the "60Days" tag to "90Days".

Comment 6 wangjing 2014-02-18 09:58:37 UTC
tested on beaker-devel( build 0.15.4.git.110.c0912fb)-->partly fail

1. modify the Retention tag name with valid/invalid value.-->pass
2. modify the "expire in days" field-->fail
steps: 
1)visit one Retention tag page and change the value in "expire in days" field
2)click save.

Actual resutls:
red message 'Retention tag already exists' under 'Tag' field, and failed to modify value in "expire in days" field

Expected results:
modifying the "expire in days" field should succeed.

Comment 7 Dan Callaghan 2014-02-20 07:11:27 UTC
Fix for editing existing tags (without renaming them):
http://gerrit.beaker-project.org/2826

Comment 10 Dan Callaghan 2014-03-17 03:01:53 UTC
Beaker 0.16.0 has been released.


Note You need to log in before you can comment on or make changes to this bug.