Hi Geoff,
Thanks for your response. Having done more investigation I think we
have identified that the issue we are experiencing does relate to the
use of Rebuild Friendly Urls. The problem seems to stem from what i
assume to be a typo in the "fRebuildFriendlyURLs" method in Farcry
\farcry_core\packages\types\types.cfc. The query which deletes old
friendly urls for this type:
<!--- delete old friendly url for this type --->
<cfquery name="stLocal.qDelete" datasource="#application.dsn#">
DELETE
FROM #application.dbowner#reffriendlyURL
WHERE refobjectid IN (SELECT objectid FROM
#application.dbowner##arguments.typeName#)
</cfquery>
Should, i assume, actually be a NOT, therefore:
<!--- delete old friendly url for this type --->
<cfquery name="stLocal.qDelete" datasource="#application.dsn#">
DELETE
FROM #application.dbowner#reffriendlyURL
WHERE refobjectid NOT IN (SELECT objectid FROM
#application.dbowner##arguments.typeName#)
</cfquery>
Is this correct? It appears to fix the problem
http://bugs.farcrycms.org/browse/FC-712
Steps to reproduce the issue:
1. Create add an additional FU on a dmHTML object using the manage FU
function.
2. Check that the new additional FU has been saved to the database.
3. Run Rebuild FU function from Farcry admin for dmHTML objects.
4. Check that the new additional FU still exists in the database. It
doesn't.
We have been considering the doing the upgrade from 3 to 4 but haven't
had the window to do it as yet :( Would you be able to email me
details of your paid support options?
Many thanks,
Duncan