Title: Bug in farcry/farcry_core/tags/navajo/deleteObjects.cfm (fix included)

Hi anybody!

Because I'm new on this list since yesterday evening, I don't know, if this bug was already reported.

In farcry/farcry_core/tags/navajo/deleteObjects.cfm there is a bug when deleting images, in line 35ff the script searches for "fileName", but in dmImage the file's name is "imageFile". Besides, I added the deletion for thumbnail-image and high-res image!

The right source would be like this:

                        <cftry>
                                <!--- fd:
                                        bugfixing: when type == dmImage, the image's field isn't "filename", it's "imageFile"

                                        added deletion for thumbnail and highRes image
                                --->
                                <cfif Len(Trim(stObj.imageFile)) gt 0>
                                        <cffile action="" file="#application.defaultImagePath#/#stObj.imageFile#">

                                </cfif>
                                <cfif Len(Trim(stObj.thumbnail)) gt 0>
                                        <cffile action="" file="#stObj.thumbnailImagePath#/#stObj.thumbnail#">
                                </cfif>
                                <cfif Len(Trim(stObj.optimisedImage)) gt 0>
                                        <cffile action="" file="#stObj.optimisedImagePath#/#stObj.optimisedImage#">

                                </cfif>
                                <cfcatch type="any"><cfdump var="#cfcatch#"></cfcatch>
                        </cftry>
I'm using farcry_core b220.

Perhaps you could merge this to the sources!

Have fun,
bye,
Fritz

b����.����\����&�v�j�+�ׯjƫr�zf���܆+�r����칻�&ޱ��i�Z�G�j)m�W���ڭ��u��ӽJ�+-�֞��ܢf��,��r�&yؚ �ޖ�^��m����+-�֞��ܢf�

Reply via email to