[Erp5-dev] Base_getRelatedDocumentList.xml-path.patch - too many documents found

Łukasz Nowak lukasz.nowak at ventis.com.pl
Thu Sep 25 15:25:56 CEST 2008


Hello,

Script Base_getRelatedDocumentList from erp5_core skin is finding to
many documents related to object - contained one.

It is using path query like:
'%component_module/2%'

which matches documents:

'component_module/2/1'
'component_module/22/1'

Attached patch matches documents:

'component_module/2/1'

but not: 'component_module/22/1'

Is test for this needed or is it just enough?

Regards,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...'' I am only craftsman.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Base_getRelatedDocumentList.xml-path.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080925/f2d632ec/attachment.bin>


More information about the Erp5-dev mailing list