[Erp5-dev] ep5-consulting: problem with listing actors

Pelletier Vincent vincent at nexedi.com
Mon Dec 18 10:37:55 CET 2006


Le Samedi 16 Décembre 2006 14:51, Bartłomiej Górny a écrit :
> On Saturday 16 of December 2006 14:00, Bartłomiej Górny wrote:
> > Hello
> >
> > I installed erp5_consulting, try to enter use cases - when I enter an
> > actor, and try to view the UseCase_viewUseCaseActorList form, I get the
> > following error:
> >
> > Error Type: CompilerError
> > Error Value: Invalid variable name "[]"
> >
> > I upgraded the source code, erp5_xhtml and erp5_consulting to the latest
> > versions, but it didn't help.
>
> I found out that if I set use_case_actor_role on the actor manually, then
> it works, but only then. So it crashes if role is not set on the actor, or
> also if it is set from the UseCase_viewUseCaseActorList form.
>
> B.

Hi.

I found a quick fix for this problem :
go to portal_categories/use_case_actor_role and click 'save'.

This is because Acquisition Portal Types is actually not set, but the value 
displayed in the field is valid, unlike the defautl value defined in the 
property sheet.
I'll keep searching for The Good Solution and commit it.

-- 
Vincent Pelletier



More information about the Erp5-dev mailing list