[Erp5-dev] patch for Base_edit

Bartek Gorny bartek at redpoint.mn.pl
Sat Jul 22 13:40:02 CEST 2006


By the same token: breadcrumb links have bare object urls, so if a
File contains something and one wants to go up from it to the file, it
starts a download. It'd be better if breadcrumb links had the "/view"
suffix.

Bartek

On 20/07/06, Jean-Paul Smets <jp at nexedi.com> wrote:
> I think this should be handled by vincent's new xhtml_style system.
> Vincent: can you check this ?
> JPS.
>
> Le jeudi 20 juillet 2006 20:12, Bartek Gorny a écrit :
> > 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
>
> --
> Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
> Nexedi: Consulting and Development of Libre / Open Source Software
> http://www.nexedi.com
> ERP5: Libre/ Open Source ERP Software for small and medium companies
> http://www.erp5.org
> Rentalinux: Desktop Linux Server
> http://www.rentalinux.com
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://erp5.org/mailman/listinfo/erp5-dev
>


-- 
"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