Small buglet in Prefs.html?

Given 2.1.77 I get this behaviour after logging in with the root user
and password (after the first install):

I log in, get to the main page, click Preferences and bam:

error: Error during compilation of
/www/bugs.tendra.org/rt3/share/html/User/Prefs.html:
syntax error at /www/bugs.tendra.org/rt3/share/html/User/Prefs.html line
174, near “):”

context:

170: my ($code, $msg);
171: ($code, $msg) = $UserObj->SetPassword($Pass1);
172: push @results, loc(‘Password: [_1]’, loc_fuzzy($msg));
173: } elsif ( $Pass1 && ($Pass1 ne $Pass2)) {
174: push @results, loc(“Passwords do not match. Your password has not
been changed”):
175: }
176:
177: # }}}
178: }

2.1.75 worked, a diff shows this:

+} elsif ( $Pass1 && ($Pass1 ne $Pass2)) {

  • push @results, loc(“Passwords do not match. Your password has not been changed”):

Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / a capoeirista
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7 9D88 97E6 839B 2EAC 625B
http://www.tendra.org/ | http://www.in-nomine.org/~asmodai/diary/
Strength, like beauty, is in the eyes of the beholder…

2.1.75 worked, a diff shows this:

+} elsif ( $Pass1 && ($Pass1 ne $Pass2)) {

  • push @results, loc(“Passwords do not match. Your password has not been changed”):

The : at the end should be a ;

(darren)

In general, things are not what people want them to be. They just are
what they are. That’s a general property of things, and that’s causing
lots of trouble for people in all kinds of contexts.
– Bob Dylan

Already fixed in 2.1.78 ;POn Mon, Mar 03, 2003 at 02:52:23PM -0500, darren chamberlain wrote:

2.1.75 worked, a diff shows this:

+} elsif ( $Pass1 && ($Pass1 ne $Pass2)) {

  • push @results, loc(“Passwords do not match. Your password has not been changed”):

The : at the end should be a ;

(darren)


In general, things are not what people want them to be. They just are
what they are. That’s a general property of things, and that’s causing
lots of trouble for people in all kinds of contexts.
– Bob Dylan


rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

http://www.bestpractical.com/rt – Trouble Ticketing. Free.