Hi Massimo,

The problem is fixed in the nightly build. The problem was caused from
using:
if not translate(self.error_messages):

instead of:

if not self.error_messages: Changing to this in the stable branch also
fixes the issue.

On Sat, Feb 11, 2012 at 10:37 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> Can you attempt a patch? Else I can do it, but open a ticket first.
> Thanks.
>
> On Feb 11, 10:51 pm, Bruce Wade <bruce.w...@gmail.com> wrote:
> > See attached welcome application.
> >
> > Downloaded fresh current stable source code from web2py, started server
> > created a register action at the top of default.py controller.
> >
> > I just used the generic view, and added some of what I had from the live
> > sites form. When entering a password such as 11111 the error returned is
> > None
> >
> > --
> > Regards,
> > Bruce
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Feb 11, 2012 at 2:15 PM, Anthony <abasta...@gmail.com> wrote:
> > > On Saturday, February 11, 2012 4:35:25 PM UTC-5, Detectedstealth wrote:
> >
> > >> Ok just got back this is the code I am using for both password and
> > >> security password (with name changed only)
> >
> > >>  LABEL(SPAN(T('Password'), _title=T("Choose a safe password")),
> > >>                   INPUT(_name='password', requires=[IS_STRONG(),
> CRYPT(),
> > >> IS_NOT_EMPTY(error_message=T('**Enter password'))], _type="password"),
> > >>                   _class="left clearfix", _for="password")
> >
> > > Hmm, the problem must be elsewhere -- if I wrap that in a FORM() and
> > > submit and validate with a weak password, the form still correctly
> displays
> > > the full error message. Maybe you can show the minimal complete
> controller
> > > and view code that will reproduce the problem in a clean "welcome" app.
> >
> > > Anthony
> >
> > --
> > --
> > Regards,
> > Bruce Wadehttp://
> ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.fitnessfriendsfinder.com
> >
> >  welcome.tar.gz
> > 166KViewDownload




-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com

Reply via email to