Bug 681584 - make bkradd should fail if trying to upload the same version of the task already present
Summary: make bkradd should fail if trying to upload the same version of the task alre...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
: 664599 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-02 16:28 UTC by Karel Volný
Modified: 2019-05-22 13:38 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-29 07:13:27 UTC


Attachments (Terms of Use)

Description Karel Volný 2011-03-02 16:28:33 UTC
Description of problem:
If you want to resubmit a task to beaker using "make bkradd", you have to run "make tag" at first, otherwise the task does not get updated in beaker.

Version-Release number of selected component (if applicable):
rhts-test-env-4.30-1.fc14.noarch

How reproducible:
always

Steps to Reproduce:
1. cd to the testcase dir
2. open the corresponding task info page in beaker, note "Updated Date"
3. update the testcase somehow
4. make bkradd
5. refresh the task info page
  
Actual results:
the task is not replaced with the new version, the "Update Date" stays the same

Expected results:
new task version replaces the old one in beaker, "Update Date" changes to the time of submitting the new version

Additional info:
it is quite annoying to find the test didn't get updated despite the fact that submitting it (via "make bkradd") did not report any error ...

Comment 1 Bill Peck 2011-03-23 18:01:53 UTC
We can have mutliple schedulers and we wouldn't want the tag to be incremented every time.

I think we should fix the code to return a proper error when you try and submit the same version.

Comment 3 Dan Callaghan 2011-10-27 03:34:23 UTC
*** Bug 664599 has been marked as a duplicate of this bug. ***


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