Вы здесь: Главная » Comunidade » Erro no login
Your last jobs
In order to publish them on our website, you can submit your job or internship offers to this address
 

Erro no login



Post  Erro no login
Author: Tiago Murakami  Send Email
Date: 18.01.2005 00:01


Toda vez que qualquer um se loga, aparece o seguinte erro:

  • Module Products.CMFCore.MemberDataTool, line 293, in getProperty

TypeError: getattr(): attribute name must be string (Also, an error occurred while attempting to render the standard error message.)

Como resolver??

(biblioteconomia.objectis.net)




Comments: order by [Date] [Author] [Subject]

  Re:Erro no login (zyon - 18.01.2005 09:40)

Too many errors on your plone site, i don't have the time to fix all.

First you customized "portlet_recent", and it was one of your problems.

Inside "portlet_recent", i replaced :

tal:define="last_login_time python:member.getProperty(DateTime());

by

tal:define="last_login_time python:member.getProperty(last_login_time, DateTime());

and added inside the catalog request

modified={'query': last_login_time, range : 'min'},

There is one other bug but it is better if you find a solution yourself. Go to http://biblioteconomia.objectis.net/manage_emergency to access ZMI