[Erp5-dev] patch for Base_edit

Bartek Gorny bartek at redpoint.mn.pl
Thu Jul 20 20:12:01 CEST 2006


I would suggest adding one line to Base_edit:

dialog_id=dialog_id or 'view'

The reason is that after editing a relation there is no dialog_id, and
the url is like:
module/object_id/?selection_name=...
and in File and derived object this means a request to download data
(see docstring of CMFDefault.File.File.download()). The above fixes
this.

Bartek

-- 
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"



More information about the Erp5-dev mailing list