You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Jon Harvey <jo...@yahoo.co.uk> on 2002/09/26 18:12:11 UTC
Patch updates and commit to CVS procedure
Hi folks,
I contributed a couple of trivial fixes as
diff -u's and emailed them on Sunday
with [PATCH] subjects as described in
Jakarta's 'how to contribute' pages...
Is this how it is done for the Struts project?
Can I have details of how best to contribute
and the process. The 2 bugs are:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12905
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12908
The two diff's are attached.
Thanks,
Jon Harvey
Re: Patch updates and commit to CVS procedure
Posted by Eddie Bush <ek...@swbell.net>.
From what I understand, the "best practice" in contributing patches is
to attach your patch file (preferably a diff -u as you have done) to the
actual bug. Doing this ensures that the patch is not lost or
overlooked. Unfortunately, a patch submitted to the list could be lost
or overlooked.
Jon Harvey wrote:
>Hi folks,
>
>I contributed a couple of trivial fixes as
>diff -u's and emailed them on Sunday
>with [PATCH] subjects as described in
>Jakarta's 'how to contribute' pages...
>Is this how it is done for the Struts project?
>Can I have details of how best to contribute
>and the process. The 2 bugs are:
>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12905
>http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12908
>
>The two diff's are attached.
>
>Thanks,
>Jon Harvey
>
--
Eddie Bush
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Patch updates and commit to CVS procedure
Posted by James Holmes <jh...@yahoo.com>.
Hey Jon,
You've followed the right process. Unfortunately many
of us are very busy with life outside of Struts and
can't get to the bugs in the bug list as soon as they
are opened. I will try and take care of these
tonight.
-james
--- Jon Harvey <jo...@yahoo.co.uk> wrote:
> Hi folks,
>
> I contributed a couple of trivial fixes as
> diff -u's and emailed them on Sunday
> with [PATCH] subjects as described in
> Jakarta's 'how to contribute' pages...
> Is this how it is done for the Struts project?
> Can I have details of how best to contribute
> and the process. The 2 bugs are:
>
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12905
>
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12908
>
> The two diff's are attached.
>
> Thanks,
> Jon Harvey
> >
===================================================================
> RCS file:
>
/home/cvspublic/jakarta-struts/src/example/org/apache/struts/webapp/example/ApplicationResources.properties,v
> retrieving revision 1.8
> diff -u -r1.8 ApplicationResources.properties
> --- ApplicationResources.properties 21 Jul 2002
> 18:45:00 -0000 1.8
> +++ ApplicationResources.properties 22 Sep 2002
> 20:56:06 -0000
> @@ -72,7 +72,7 @@
> # Standard error messages for validator framework
> checks
> errors.required={0} is required.
> errors.minlength={0} cannot be less than {1}
> characters.
> -errors.maxlength={0} cannot be greater than {1}
> characters.
> +errors.maxlength={0} cannot be greater than {2}
> characters.
> errors.invalid={0} is invalid.
> errors.byte={0} must be an byte.
> errors.short={0} must be an short.
> >
===================================================================
> RCS file:
>
/home/cvspublic/jakarta-struts/conf/share/validator-rules.xml,v
> retrieving revision 1.8
> diff -u -r1.8 validator-rules.xml
> --- validator-rules.xml 16 Jul 2002 02:37:55 -0000
> 1.8
> +++ validator-rules.xml 22 Sep 2002 21:35:39 -0000
> @@ -102,6 +102,7 @@
> oMinLength = new minlength();
> for (x in oMinLength) {
> if (form[oMinLength[x][0]].type
> == 'text' ||
> + form[oMinLength[x][0]].type
> == 'password' ||
> form[oMinLength[x][0]].type
> == 'textarea') {
> var iMin =
> parseInt(oMinLength[x][2]("minlength"));
> if
> (!(form[oMinLength[x][0]].value.length >= iMin)) {
> @@ -144,6 +145,7 @@
> oMaxLength = new maxlength();
> for (x in oMaxLength) {
> if (form[oMaxLength[x][0]].type
> == 'text' ||
> + form[oMaxLength[x][0]].type
> == 'password' ||
> form[oMaxLength[x][0]].type
> == 'textarea') {
> var iMax =
> parseInt(oMaxLength[x][2]("maxlength"));
> if
> (!(form[oMaxLength[x][0]].value.length <= iMax)) {
>
>
> > --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>