Page 1 of 1

Was relative control Src path fixed in 7.0.3?

Posted: Sun Jun 14, 2009 1:58 pm
by ZLA
In Conlib/Basket.ascx, the google checkout control refers to Src="../Checkout/Google/GoogleCheckoutButton.ascx" instead of Src="~/Checkout/Google/GoogleCheckoutButton.ascx". This throws an error if you make a custom copy and put it in the Conlib/Custom folder:
[[ConLib:Custom/SG_Basket]] The file '/MyStore/ConLib/Checkout/Google/GoogleCheckoutButton.ascx' does not exist.
If this wasn't fixed in 7.0.3, I suggest it get logged for a future release.

Re: Was relative control Src path fixed in 7.0.3?

Posted: Sun Jun 14, 2009 4:04 pm
by afm
The Src parameter starts with ".." in 7.0.3:

Code: Select all

<%@ Register Src="../Checkout/Google/GoogleCheckoutButton.ascx" TagName="GoogleCheckoutButton" TagPrefix="uc" %>

Re: Was relative control Src path fixed in 7.0.3?

Posted: Sun Jun 14, 2009 6:49 pm
by ZLA
Thanks for the info Andy.