[Vtigercrm-developers] VT61: Bug with handling of $site_URL...

Alan Lord alanslists at gmail.com
Tue Nov 11 13:05:54 GMT 2014


Should $site_URL have a trailing slash or not?

One way or the other there is bug in vtiger 6.1.

In a Workflow if you use the template placeholder

> $(general : (__VtigerMeta__) crmdetailviewurl)

to generate a URL and you have a trailing slash in $site_URL it will 
generate a URL with two slashes before the "?index.php"

If you create a Webform, the Post URL value will be correct.

However, if you remove the trailing slash so the Workflow email URL is 
correct, then the Webform Post URL value will be missing the slash 
altogether... so it will never work.

I'd appreciate a comment as to which is the correct approach to the 
$site_URL parameter and then how to fix whichever bit is broken.

Cheers

Al



More information about the vtigercrm-developers mailing list