[TYPO3-commerce] RFC Bug: #31449 - Moving an order to another state does not work
Morten Haggren
mo at idefa.dk
Mon Nov 14 08:49:20 CET 2011
Been using an xclass for this for a while,
only I used the 4.4 version;
//stolen from typo3 4.4 since the 4.5 model cannot link to mod_orders
function listURL($altId='',$table=-1,$exclList='') {
return $GLOBALS['BACK_PATH'] . $this->script.
'?id='.(strcmp($altId,'')?$altId:$this->id).
'&table='.rawurlencode($table==-1?$this->table:$table).
($this->thumbs?'&imagemode='.$this->thumbs:'').
($this->returnUrl?'&returnUrl='.rawurlencode($this->returnUrl):'').
($this->searchString?'&search_field='.rawurlencode($this->searchString):'').
($this->searchLevels?'&search_levels='.rawurlencode($this->searchLevels):'').
($this->showLimit?'&showLimit='.rawurlencode($this->showLimit):'').
((!$exclList || !t3lib_div::inList($exclList, 'firstElementNumber'))
&& $this->firstElementNumber ? '&pointer=' .
rawurlencode($this->firstElementNumber) : '') .
((!$exclList || !t3lib_div::inList($exclList,'sortField')) &&
$this->sortField?'&sortField='.rawurlencode($this->sortField):'').
((!$exclList || !t3lib_div::inList($exclList,'sortRev')) &&
$this->sortRev?'&sortRev='.rawurlencode($this->sortRev):'')
;
}
There are some difference between the two but I guess they are not
important so +1
On 2011-11-13 15:12, Georg Schönweger wrote:
> Hi Ingo,
>
> ups, of course it should be 4.5 :) If i get another +1 by testing i will
> commit it with the right comment.
>
> regards,
> Georg
>
> Am 13.11.2011 12:23, schrieb Ingo Schmitt:
>> Hi Georg,
>>
>> fine by reading. ONly one minor issue, it should state TYPO4 4.5 in the comment, not TYPO3 5 ;-)
>>
>> Regards
>>
>> Ingo
>>> This is an SVN Patch request
>>>
>>> Type: Bugfix
>>>
>>> Bugtracker reference: http://forge.typo3.org/issues/31449
>>>
>>> Branches: trunk
>>>
>>> Problem:
>>> In the commerce module, under "Backend -> Order -> Incoming", it does
>>> not work to move an order to another state anymore. This is due to a new
>>> handling in function listURL (class.db_list.inc) since Typo3 4.5
>>>
>>> Solution:
>>> Overwrite new listURL function with old one from Typo3 4.2
>>>
>>> Additional Notes:
>>> Thanks to Robert Wildling for reporting this.
>>>
>>> regards,
>>> Georg
>>> <move_orders.diff>_______________________________________________
>>> TYPO3-team-commerce mailing list
>>> TYPO3-team-commerce at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-commerce
>>
--
RewriteRule ^Morten Olesen$ Morten Haggren [R=301,L]
More information about the TYPO3-team-commerce
mailing list