20 Commits

Author SHA1 Message Date
mkanat%bugzilla.org
1be00a65d9 Bug 572602: Change the way that Bugzilla::Object determines what fields
are required for create(). It now assumes that any column that is NOT NULL
and has not DEFAULT in the database is required. We also shift the burden
of throwing errors about empty values to the validators. This fixes the bug
that Bugzilla::Bug->create() wasn't populating default values for fields
if they weren't specified in the create() parameters.
r=timello, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@260542 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-24 00:47:53 +00:00
mkanat%bugzilla.org
79a5fd7406 Bug 556731 - Make Bugzilla::Milestone, Bugzilla::Version, and
Bugzilla::Component use VALIDATOR_DEPENDENCIES instead of UPDATE_VALIDATORS
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@260308 18797224-902f-48f8-a5cc-f745e15eee43
2010-05-14 14:32:41 +00:00
mkanat%bugzilla.org
095f29b6d2 Bug 487508: Allow restricting the visibility of custom fields and values by component
r=dkl, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259590 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-03 20:21:09 +00:00
lpsolit%gmail.com
abeedd7168 Bug 487769: checksetup.pl can no longer create versions in TestProduct due to insufficient privileges (checksetup.pl fails) - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r/a=LpSolit
git-svn-id: svn://10.0.0.236/trunk@256896 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-11 23:33:27 +00:00
lpsolit%gmail.com
8c36973d40 Bug 313123: Implement $component->create and $component->update based on Object.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@237626 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 23:07:24 +00:00
lpsolit%gmail.com
a2ca50da43 Bug 364743: Crash when renaming components (regression) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
git-svn-id: svn://10.0.0.236/trunk@217369 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 18:10:21 +00:00
mkanat%bugzilla.org
4a41fcb4c8 Bug 339380: Make Bugzilla::Component use Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk


git-svn-id: svn://10.0.0.236/trunk@217179 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 06:39:29 +00:00
lpsolit%gmail.com
21b303adf4 Bug 189627: Implement per-product privileges - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
git-svn-id: svn://10.0.0.236/trunk@215097 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 16:51:30 +00:00
mkanat%bugzilla.org
76cb5d762d Bug 38922: Default (Initial) CC list for each component
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk


git-svn-id: svn://10.0.0.236/trunk@212078 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-20 21:57:58 +00:00
lpsolit%gmail.com
63b2458081 Bug 174039: Set flags on bug entry - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap r=myk a=myk
git-svn-id: svn://10.0.0.236/trunk@203576 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-24 23:24:34 +00:00
jocuri%softhome.net
3ce2403dba Fix invalid POD formatting (patch for fixing broken tree - runtests.pl, test 11).
git-svn-id: svn://10.0.0.236/trunk@191397 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 15:23:32 +00:00
lpsolit%gmail.com
2d2caede4d Bug 314088: Several Bugzilla::Foo->new crash when passing a string instead of a valid ID as a param - Patch by Frédéric Buclin <LpSolit@gmail.com> r=kiko a=justdave
git-svn-id: svn://10.0.0.236/trunk@183184 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 10:33:18 +00:00
mkanat%kerio.com
f9d408a8ea Bug 309749: Remove get_x_by_y functions from the new .pm files, in favor of object methods
Patch By André Batosti <batosti@async.com.br> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@181718 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-06 18:45:46 +00:00
lpsolit%gmail.com
dcefae32a9 Bug 301743: Replace old code from editcomponents.cgi by methods and routines from Component.pm and Product.pm - Patch by Tiago R. Mello <timello@gmail.com> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@179753 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 23:54:00 +00:00
lpsolit%gmail.com
25b4d9f717 Bug 286158: Remove GetSelectableProducts() from globals.pl and use Bugzilla::User::get_selectable_products() instead - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel,kiko a=justdave
git-svn-id: svn://10.0.0.236/trunk@179575 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 21:12:10 +00:00
justdave%bugzilla.org
60d2b0604a Bug 303413: Remove "use Bugzilla" from all of the pm files. All of the cgi files already have it loaded, and it causes circular dependencies.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org>
r=justdave a=justdave


git-svn-id: svn://10.0.0.236/trunk@177733 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-14 22:34:32 +00:00
mkanat%kerio.com
0cbbdcfee7 Bug 303669: Bugzilla mis-uses perl subroutine prototypes
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@177695 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 12:27:04 +00:00
bugreport%peshkin.net
9778732be8 Backout of bug 303669 which broke AppendComment and possibly a number
of other items.


git-svn-id: svn://10.0.0.236/trunk@177419 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 11:23:43 +00:00
mkanat%kerio.com
7bbde62ad3 Bug 303669: Bugzilla mis-uses perl subroutine prototypes
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@177413 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 05:59:02 +00:00
lpsolit%gmail.com
f8cabb3e81 Bug 294160: Step 1 (RO): Create libraries for Products, Components, Classifications, Milestones, and Versions - Patch by Tiago R. Mello <timello@async.com.br> r=mkanat a=myk
git-svn-id: svn://10.0.0.236/trunk@175971 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-12 22:02:10 +00:00