Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Fwd: Testopia submit bugs to a different Bugzilla instance ?]

2 views
Skip to first unread message

Derek Rafter, Software Engineer

unread,
Nov 10, 2008, 5:13:21 AM11/10/08
to support-...@lists.mozilla.org, greg...@gmail.com
BTW, we are looking to deploy Testopia as the test management tool for
Open Solaris (Desktop) via opensolaris.org so would appreciate any
support you can give us.

Thanks,
- Derek

-------- Original Message --------
Subject: Testopia submit bugs to a different Bugzilla instance ?
Date: Fri, 07 Nov 2008 17:52:08 +0000
From: Derek Rafter <derek....@sun.com>
To: Gregary Hendricks <greg...@gmail.com>
References: <48EF553A...@sun.com>
<cca3e0fe0810100821u579...@mail.gmail.com>
<48F31471...@ireland.sun.com>
<cca3e0fe0810130837v212...@mail.gmail.com>
<49119EF2...@sun.com>

Hi Gregary,

Is it possible to submit bugs from testopia to another instance of
bugzilla instead of the bugzilla that testopia is installed onto ?

Example, we have testopia running on a evaluation . We need to submit
bugs to another 'live' instance of Bugzilla because we are not allowed
to put testopia onto that instance of Bugzilla.
So, we want to run our own version of testopia and somehow submit bugs
to the other 'live' Bugzilla.

Thanks,
- Derek Rafter
Software Test/QA Engineer,
Sun Microsystems, Ireland

--
Derek Rafter,
Software Test Engineer, Ph +353-1-8199084
Desktop Applications Group,
Sun Microsystems Ireland,
East Point Business Park,
Dublin
Ireland

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Sun Proprietary/Confidential: Internal Use Only"

NOTICE: This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"I don't like it, and I'm sorry I ever had anything to do with it"
- Erwin Schrodinger (about quantum mechanics)

David Malcolm

unread,
Nov 10, 2008, 10:47:20 AM11/10/08
to Derek....@sun.com, greg...@gmail.com, support-...@lists.mozilla.org
On Mon, 2008-11-10 at 10:13 +0000, Derek Rafter, Software Engineer
wrote:

> BTW, we are looking to deploy Testopia as the test management tool for
> Open Solaris (Desktop) via opensolaris.org so would appreciate any
> support you can give us.
>
> Thanks,
> - Derek
>
> -------- Original Message --------
> Subject: Testopia submit bugs to a different Bugzilla instance ?
> Date: Fri, 07 Nov 2008 17:52:08 +0000
> From: Derek Rafter <derek....@sun.com>
> To: Gregary Hendricks <greg...@gmail.com>
> References: <48EF553A...@sun.com>
> <cca3e0fe0810100821u579...@mail.gmail.com>
> <48F31471...@ireland.sun.com>
> <cca3e0fe0810130837v212...@mail.gmail.com>
> <49119EF2...@sun.com>
>
>
>
> Hi Gregary,
>
> Is it possible to submit bugs from testopia to another instance of
> bugzilla instead of the bugzilla that testopia is installed onto ?
>
> Example, we have testopia running on a evaluation . We need to submit
> bugs to another 'live' instance of Bugzilla because we are not allowed
> to put testopia onto that instance of Bugzilla.
> So, we want to run our own version of testopia and somehow submit bugs
> to the other 'live' Bugzilla.

I filed a bug about this here (along with first steps towards a possible
implementation):
https://bugzilla.mozilla.org/show_bug.cgi?id=442116

Gregary Hendricks

unread,
Nov 10, 2008, 11:07:00 AM11/10/08
to support-...@lists.mozilla.org, Derek....@sun.com, greg...@gmail.com
>>> On 11/10/2008 at 03:13 AM, in message <49180941...@ireland.sun.com>,

"Derek Rafter, Software Engineer" <derek....@ireland.sun.com> wrote:
> BTW, we are looking to deploy Testopia as the test management tool for
> Open Solaris (Desktop) via opensolaris.org so would appreciate any
> support you can give us.
>
> Thanks,
> - Derek
>
> -------- Original Message --------
> Subject: Testopia submit bugs to a different Bugzilla instance ?
> Date: Fri, 07 Nov 2008 17:52:08 +0000
> From: Derek Rafter <derek....@sun.com>
> To: Gregary Hendricks <greg...@gmail.com>
> References: <48EF553A...@sun.com>
> <cca3e0fe0810100821u579...@mail.gmail.com>
> <48F31471...@ireland.sun.com>
> <cca3e0fe0810130837v212...@mail.gmail.com>
> <49119EF2...@sun.com>
>
>
>
> Hi Gregary,
>
> Is it possible to submit bugs from testopia to another instance of
> bugzilla instead of the bugzilla that testopia is installed onto ?
>
> Example, we have testopia running on a evaluation . We need to submit
> bugs to another 'live' instance of Bugzilla because we are not allowed
> to put testopia onto that instance of Bugzilla.
> So, we want to run our own version of testopia and somehow submit bugs
> to the other 'live' Bugzilla.
>

As the link to file a bug from within Testopia is a simple URL, it would be trivial to change the code to point to any Bugzilla instance you please. Unfortunatley, there is no built in mechanism for this.
the file to look at will be the testopia/js/caserun.js under CaseBugsGrid:

newbug = function(){
var bug_panel = new Ext.Panel({
id: 'new_bug_panel'
});
var caserun_id;
if (Ext.getCmp('caserun_grid') && Ext.getCmp('caserun_grid').getSelectionModel().getCount()){
caserun_id = Ext.getCmp('caserun_grid').getSelectionModel().getSelected().get('caserun_id');
}

var store = new Ext.data.Store({
url: 'tr_process_case.cgi',
baseParams: {action: 'case_to_bug', case_id: this.tcid, caserun_id: caserun_id },
reader: new Ext.data.XmlReader({
record: 'newbug',
id: 'case_id'
},[
{name: 'product', mapping: 'product'},
{name: 'version', mapping: 'version'},
{name: 'component', mapping: 'coponent'},
{name: 'comment', mapping: 'comment'},
{name: 'case_id', mapping: 'case_id'},
{name: 'assigned_to', mapping: 'assigned_to'},
{name: 'qa_contact', mapping: 'qa_contact'},
{name: 'short_desc', mapping: 'short_desc'}
])
});
store.load();
store.on('load',function(){
==> var url = 'enter_bug.cgi?'; <========== Change this line ======
for (var i=0; i<store.fields.keys.length; i++){
url = url + store.fields.keys[i] + '=' + escape(store.getAt(0).get(store.fields.keys[i])) + '&';
}
url = url + 'caserun_id=' + caserun_id;
window.open(url, 'New Bug');
});
};


Good luck, and let me know if you have any other questions.

Greg

Derek Rafter, Software Engineer

unread,
Nov 10, 2008, 11:35:22 AM11/10/08
to Gregary Hendricks, greg...@gmail.com, support-...@lists.mozilla.org
Thanks for the pointers Greg.
If the URL was changed to point to a different Bugzilla database, could
bugs still be attached to Testopia test runs, cases and show up in reports ?

Regards,
- Derek

Gregary Hendricks

unread,
Nov 10, 2008, 11:40:46 AM11/10/08
to Derek....@sun.com, greg...@gmail.com, support-...@lists.mozilla.org
>>> On 11/10/2008 at 09:35 AM, in message <491862CA...@ireland.sun.com>,

"Derek Rafter, Software Engineer" <derek....@ireland.sun.com> wrote:
> Thanks for the pointers Greg.
> If the URL was changed to point to a different Bugzilla database, could
> bugs still be attached to Testopia test runs, cases and show up in reports ?
>


No, they would have to be within the same database that Testopia is run from in order to show up in reports.

Greg

Derek Rafter, Software Engineer

unread,
Nov 11, 2008, 5:17:43 AM11/11/08
to Gregary Hendricks, greg...@gmail.com, support-...@lists.mozilla.org
What is the best way to migrate a Testopia installation from one
instance of Bugzilla to another instance of Bugzilla ?
Can test data (cases/runs/tags etc) be migrated separately from the
Testopia application ?

Thanks,

--
Derek Rafter,
Software Test Engineer,

0 new messages