[Cubicweb] CubicWeb / Password Input / changeset:4871

Sylvain Thénault sylvain.thenault at logilab.fr
Fri Mar 12 10:44:30 CET 2010

On 11 mars 23:04, Carlos Balderas wrote:
> Hello,

Hi Carlos,
> There is a little issue in cubicweb 3.6.2 when updating data in the cubicweb
> database using password input type  (changeset: 4871)
> File "/home/carlos/src/fcubicweb/cubicweb/web/formwidgets.py", line 188, in
> process_field_data
>     return passwd1.encode('utf-8')
> AttributeError: 'list' object has no attribute 'encode'
> The solution (maybe) could be found in file cubicweb/web/formfields.py at
> method input_name (line 191) of the class Field, due this was the last
> change made before getting this error.
> I hope this information helps a bit to find the solution of the case.

good catch. I've just pushed a fix.

Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list