That may only affect new test runs. If you want to update existing
testcaseruns, you will have to update them in the database.
The place in the code you need to alter is in the TestRun.pm module in the
lib directory. LOook for the add_case_run method. Change $status ||=IDLE to
$status ||=STOPPED.
sub add_case_run {
my $self = shift;
my ($case_id, $sortkey, $status) = @_;
$status ||=IDLE;
trick_taint($case_id);
return 0 if $self->check_case($case_id);
my $case = Bugzilla::Extension::Testopia::TestCase->new($case_id);
$sortkey = $case->sortkey unless $sortkey;
++Greg
On Mon, Jun 29, 2015 at 5:51 PM, Richard Aronson <
rbad...@gmail.com>
wrote:
> Hi Greg,
>
> Thank you so much for your help...
>
> I looked in both files and could not find an "obvious" place to update
> this default to 'Stopped'. I made some changes but nothing seemed to be
> the correct one. Do you have any other ideas or some other place I can
> look?
>
> Is anyone still updating his code and/or fixing bugs?
>
> Best Regards,
> rich
>
>
> On Fri, May 29, 2015 at 8:43 AM, Gregary Hendricks <
greg...@gmail.com>
> wrote:
>
>> It has been a while but I recall there was a default status in the
>> settings. Perhaps that was only for creating test cases though. If it is
>> not there, it should be pretty simple to set it in the code that crates a
>> new test-case-run. Do a search for RUNNING in the code. It will probably be
>> in TestCaseRun.pm or TestRun.pm. Hope this helps.
>>
>> ++Greg
>>
>> On Thu, May 21, 2015 at 2:36 PM, <
rbad...@gmail.com> wrote:
>>