[TYPO3-commerce] editing of address during checkout does not send back to checkout
Karsten Dambekalns
karsten at typo3.org
Sun Jan 6 15:12:42 CET 2008
Hi.
Thibaut van de Mortel wrote:
> The problem comes line 94 of class.tx_commerce_pi4.php :
>
> -------------------------------------------------
> t3lib_div::locationHeaderUrl($this->pi_getPageLink($this->piVars['backpid'],'',array('tx_commerce_pi3[addressType]'
...
> This line used to be :
> -------------------------------------------------
> header('Location: '
...
> I don't know why the "locationHeaderUrl" of t3lib_div fails, because it
> is given the correct link (same link as old version).
locationHeaderUrl doesn't do any redirect, it only does this (see API
documentation):
----
Prefixes a URL used with 'header-location' with 'http://...' depending
on whether it has it already.
* If already having a scheme, nothing is prepended
* If having REQUEST_URI slash '/', then prefixing 'http://[host]'
(relative to host)
* Otherwise prefixed with TYPO3_REQUEST_DIR (relative to current
dir / TYPO3_REQUEST_DIR)
----
So there still has to be a header() call! Please open a bug report for this!
Regards,
Karsten
More information about the TYPO3-project-commerce
mailing list