Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 288306 - submitting custom fields without permission causes Bugzilla server error
Summary: submitting custom fields without permission causes Bugzilla server error
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mylyn Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-01 18:35 EDT by Robert Elves CLA
Modified: 2012-03-23 19:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Elves CLA 2009-09-01 18:35:21 EDT
I've tracked down the cause of the error that results when submiting to bugzilla.mozilla.org. I don't have security permissions to a custom flag. If this flag isn't present in the post it works just fine.  I've opened a bug to address the server side issue:

513351: Software Error: invalid bug attribute producti_obj
https://bugzilla.mozilla.org/show_bug.cgi?id=513351


I propose in Mylyn we simply discard any custom field that doesn't have an associated type (i.e. when parsing the configuration).  I'm not certain this is backwards compatible.  



<h1>Software error:</h1>
<pre>invalid bug attribute producti_obj at /data/www/bugzilla.mozilla.org/Bugzilla/Bug.pm line 3630
Bugzilla::Bug::AUTOLOAD('Bugzilla::Bug=HASH(0xc9c4d9c)') called at /data/www/bugzilla.mozilla.org/Bugzilla/Bug.pm line 1032
Bugzilla::Bug::_check_cf_fixed_in('Bugzilla::Bug=HASH(0xc9c4d9c)', 'ARRAY(0xc9bcd1c)', 'cf_fixed_in') called at /data/www/bugzilla.mozilla.org/Bugzilla/Object.pm line 241
Bugzilla::Object::set('Bugzilla::Bug=HASH(0xc9c4d9c)', 'cf_fixed_in', 'ARRAY(0xc9bcd1c)') called at /data/www/bugzilla.mozilla.org/Bugzilla/Bug.pm line 1763
Bugzilla::Bug::set_cf_fixed_in('Bugzilla::Bug=HASH(0xc9c4d9c)', 'ARRAY(0xc9bcd1c)') called at /data/www/bugzilla.mozilla.org/Bugzilla/Bug.pm line 1962
Bugzilla::Bug::set_product('Bugzilla::Bug=HASH(0xc9c4d9c)', 'Bugzilla', 'HASH(0xc9bcc5c)') called at /data/www/bugzilla.mozilla.org/process_bug.cgi line 267
ModPerl::ROOT::Bugzilla::ModPerl::ResponseHandler::data_www_bugzilla_2emozilla_2eorg_process_bug_2ecgi::handler('Apache2::RequestRec=SCALAR(0xc6b56e8)') called at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('Bugzilla::ModPerl::ResponseHandler=HASH(0xc8735cc)') called at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('Bugzilla::ModPerl::ResponseHandler=HASH(0xc8735cc)') called at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('Bugzilla::ModPerl::ResponseHandler', 'Apache2::RequestRec=SCALAR(0xc6b56e8)') called at /data/www/bugzilla.mozilla.org/mod_perl.pl line 100
Bugzilla::ModPerl::ResponseHandler::handler('Bugzilla::ModPerl::ResponseHandler', 'Apache2::RequestRec=SCALAR(0xc6b56e8)') called at -e line 0
eval {...} called at -e line 0
</pre>
<p>
For help, please send mail to the webmaster (<a href="mailto:bugzilla-admin@mozilla.org">bugzilla-admin@mozilla.org</a>), giving this error message 
and the time and date of the error.

</p>
Comment 1 Frank Becker CLA 2009-09-10 16:17:08 EDT
Rob,

I did not know how to fix this.

1) cf_fixed_in is in the configuration
2) bugzilla.mozilla.org is version 3.2.4 and there are not all field attributes that are in the 3.4 version
3) the test that cf_fixed_in is valid is an custom change and not an bugzilla feature
4) am patch was applied so we have no server error anymore
Comment 2 Steffen Pingel CLA 2011-10-04 09:59:24 EDT
Is this error still a concern?
Comment 3 Steffen Pingel CLA 2012-03-23 19:09:15 EDT
I'll mark this as wontfix. Please feel free to reopen if we should take action.