Łukasz Nowak
2008-09-25 13:25:56 UTC
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>
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>