Upgrade of Bugzilla 2.16.6->2.1.6.7 via CVS update caused "Bug(s) found with invalid rep_platform value"

Subject:Upgrade of Bugzilla 2.16.6->2.1.6.7 via CVS update caused
"Bug(s) found with invalid rep_platform value"

My sanity check now complains of many, many (thousand+) bugs that have
been found with invalid rep_platform value.

Is there anything one can suggest to go and set them all to "All" or
some other default? I don't care what they are set to, but I would
like a clean sanity check! I did follow the directions for upgrading
verbatim and I don't know if corruption is imminent - is it?

My localconfig file seems to have been manipulated by bugzilla cvs
update/checksetup.pl at some point. It seems bugzilla insisted on
adding the default operating systems and platforms without my
knowledge to localconfig at some point. I don't mind the longer list,
but this seems to have caused some field to have been modified in the
database. I recommend that the tool attempt to fix problems that it
causes.

I think need something to go and set all the blanks to "All", is it
easy to do this via a simple script? Any help is greatly appreciated.

Thanks in advance for any advice/help. 

- Mick
0
mickrussom
10/28/2004 10:44:56 PM
netscape.mozilla.webtools 4144 articles. 0 followers. Follow

3 Replies
595 Views

Similar Articles

[PageSpeed] 12

Mick Russom wrote:
> Subject:Upgrade of Bugzilla 2.16.6->2.1.6.7 via CVS update caused
> "Bug(s) found with invalid rep_platform value"
> 
> My sanity check now complains of many, many (thousand+) bugs that have
> been found with invalid rep_platform value.
> 
> Is there anything one can suggest to go and set them all to "All" or
> some other default? I don't care what they are set to, but I would
> like a clean sanity check! I did follow the directions for upgrading
> verbatim and I don't know if corruption is imminent - is it?

change-several-bugs-at-once from the search results page would do it.

> My localconfig file seems to have been manipulated by bugzilla cvs
> update/checksetup.pl at some point. It seems bugzilla insisted on
> adding the default operating systems and platforms without my
> knowledge to localconfig at some point. I don't mind the longer list,
> but this seems to have caused some field to have been modified in the
> database. I recommend that the tool attempt to fix problems that it
> causes.

localconfig is not in cvs, so it's impossible for cvs update to mess 
with it.  checksetup.pl won't touch the values of existing variables, it 
only adds stuff if the entire variable is missing.  The only way it 
added stuff is if you removed the existing list from your localconfig file.

It's quite possible that if you ran checksetup.pl on your production 
database from an unpacked Bugzilla archive that didn't have the 
localconfig file from your production installation that it would have 
done this.

-- 
Dave Miller      Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/             http://www.bugzilla.org/
0
David
10/28/2004 10:52:08 PM
David Miller <justdave@bugzilla.org> wrote in message news:<mailman.1099003982.26742.mozilla-webtools@mozilla.org>...
> Mick Russom wrote:
> > Subject:Upgrade of Bugzilla 2.16.6->2.1.6.7 via CVS update caused
> > "Bug(s) found with invalid rep_platform value"
> > 
> > My sanity check now complains of many, many (thousand+) bugs that have
> > been found with invalid rep_platform value.
> > 
> > Is there anything one can suggest to go and set them all to "All" or
> > some other default? I don't care what they are set to, but I would
> > like a clean sanity check! I did follow the directions for upgrading
> > verbatim and I don't know if corruption is imminent - is it?
> 
> change-several-bugs-at-once from the search results page would do it.
How do I run a query that will produce the same list as the sanity
check? Nothing I do seems to help, the only thing that returns a list
is Other, everything else returns nothing. How can I run a "not Other"
platform query and do change multiple bugs at once? Will the change
cause 1000 emails to be sent as well?


> 
> > My localconfig file seems to have been manipulated by bugzilla cvs
> > update/checksetup.pl at some point. It seems bugzilla insisted on
> > adding the default operating systems and platforms without my
> > knowledge to localconfig at some point. I don't mind the longer list,
> > but this seems to have caused some field to have been modified in the
> > database. I recommend that the tool attempt to fix problems that it
> > causes.
> 
> localconfig is not in cvs, so it's impossible for cvs update to mess 
> with it.  checksetup.pl won't touch the values of existing variables, it 
> only adds stuff if the entire variable is missing.  The only way it 
> added stuff is if you removed the existing list from your localconfig file.
> 
> It's quite possible that if you ran checksetup.pl on your production 
> database from an unpacked Bugzilla archive that didn't have the 
> localconfig file from your production installation that it would have 
> done this.
Ive always upgraded bugzilla on site. It is possible it was changed
during a migration long ago, but the 2.16.6 sanity check passed, the
upgrade was performed to 2.16.7, then it didnt. The only thing that
was used was " cvs -q update -r BUGZILLA-2_16_7 -dP" followed by
checksetup.pl
0
mickrussom
10/29/2004 7:25:33 PM
Mick Russom wrote:
> David Miller <justdave@bugzilla.org> wrote in message news:<mailman.1099003982.26742.mozilla-webtools@mozilla.org>...
> 
>>Mick Russom wrote:
>>
>>>My sanity check now complains of many, many (thousand+) bugs that have
>>>been found with invalid rep_platform value.
>>>
>>>Is there anything one can suggest to go and set them all to "All" or
>>>some other default? I don't care what they are set to, but I would
>>>like a clean sanity check! I did follow the directions for upgrading
>>>verbatim and I don't know if corruption is imminent - is it?
>>
>>change-several-bugs-at-once from the search results page would do it.
> 
> How do I run a query that will produce the same list as the sanity
> check? Nothing I do seems to help, the only thing that returns a list
> is Other, everything else returns nothing. How can I run a "not Other"
> platform query and do change multiple bugs at once? Will the change
> cause 1000 emails to be sent as well?

In 2.17.6 and up, sanitycheck.cgi has a "view as buglist" link after all 
of those lists, precisely for that reason.  I'm not sure whether the 
code can be backported, but 2.18 is well worth an upgrade if you can 
swing it.

Probably the only way to do that in 2.16.x would be to run SQL On the 
back end, since you couldn't query for nulls in 2.16.x.

>>It's quite possible that if you ran checksetup.pl on your production 
>>database from an unpacked Bugzilla archive that didn't have the 
>>localconfig file from your production installation that it would have 
>>done this.
> 
> Ive always upgraded bugzilla on site. It is possible it was changed
> during a migration long ago, but the 2.16.6 sanity check passed, the
> upgrade was performed to 2.16.7, then it didnt. The only thing that
> was used was " cvs -q update -r BUGZILLA-2_16_7 -dP" followed by
> checksetup.pl

That's pretty weird.  I don't have any other ideas.  I haven't ever seen 
that before without someone changing localconfig.

-- 
Dave Miller      Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/             http://www.bugzilla.org/
0
David
11/5/2004 5:43:32 AM
Reply:

Web resources about - Upgrade of Bugzilla 2.16.6->2.1.6.7 via CVS update caused "Bug(s) found with invalid rep_platform value" - netscape.mozilla.webtools

Resources last updated: 12/18/2015 12:01:49 PM