17 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
lpsolit%gmail.com
67dd7b4dac Bug 471871: Bugzilla::Version has duplicated code compared to Bugzilla::Object (make Bugzilla::Version really a subclass of Bugzilla::Object) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@256879 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-10 09:36:46 +00:00
mkanat%bugzilla.org
88fe7cc26f Bug 373440: Make "check" into a generic function in Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@232967 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 21:31:21 +00:00
mkanat%bugzilla.org
d0c03c82f4 Bug 374215: Move all generally-useful Installation subroutines to Bugzilla::Install::Util
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@221975 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-16 16:04:35 +00:00
mkanat%bugzilla.org
616a4e97d6 Bug 371016: Versions are no longer sorted by version-sort
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@220612 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-20 22:53:33 +00:00
mkanat%bugzilla.org
c7ae56b4db Bug 339385: Make Bugzilla::Version use Bugzilla::Object
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk


git-svn-id: svn://10.0.0.236/trunk@217180 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-19 06:41:46 +00:00
lpsolit%gmail.com
3201a36b9b Bug 313125: Implement validations and database persistence functions for Versions.pm and clean-up editversions.cgi - Patch by André Batosti <batosti@async.com.br> r=LpSolit a=myk
git-svn-id: svn://10.0.0.236/trunk@203045 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 23:50:32 +00:00
lpsolit%gmail.com
44d729d2e1 Bug 330521: Remove @::legal_product, @::legal_components and @::legal_target_milestone - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
git-svn-id: svn://10.0.0.236/trunk@192453 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 21:51:35 +00:00
mkanat%kerio.com
562a770a70 Bug 328602: Eliminate %::versions and @::legal_versions
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk


git-svn-id: svn://10.0.0.236/trunk@191629 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 23:50:17 +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
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
8c070283cf Bug 300532: Update editversions.cgi to use routines from Version.pm and Product.pm - Patch by Tiago R. Mello <timello@async.com.br> r=LpSolit a=myk
git-svn-id: svn://10.0.0.236/trunk@176230 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-19 00:05:11 +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