您位于: 首页 » 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
作者: Tiago Murakami  Send Email
日期: 2005/01/18 12:01 AM


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)




评注: 排序 [日期] [作者] [主题]

  Re:Erro no login (zyon - 2005/01/18 09:40 AM)

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

Apéros plone

Vous êtes les bienvenus aux apéros plone : un moment convivial pour parler de Plone, Python et plein d'autres sujets

Manuel Plone 3