Comment 2 for bug 580218

Revision history for this message
xrg (xrg) wrote : Re: [Bug 580218] [NEW] trunk - ir.actions.act_window - context must be at least {}

On Friday 14 May 2010, you wrote:
> Public bug reported:
>
> context field must not be empty - and should issue an user friendly
> error message
>
> the problem is that sometimes the context has to be deleted manually -
> as this is not done automatically if context tag is removed from xml
> file

Do you mean it's the issue where xml updates change the action but forget to
update/reset the context field at it?

So, you want the xml files to remove the context (or put a new one), when they
are loaded, right?
If that's the case, the problem may lie in the way xml files are loaded. That's
a more tricky thing. We might want a mechanism to say "if you reload field1,
field2 from xml, then at least reset field3, field4 to default"..