View Issue Details

IDProjectCategoryView StatusLast Update
0003033OXID eShop (all versions)1.03. Basket, checkout processpublic2012-12-10 13:23
ReporterMBa 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformandroidOSandroidOS Version2.3.3
Product Version4.4.3 revision 30016 
Target VersionFixed in Version4.5.2 revision 38481 
Summary0003033: android makes redirects with post instead get (I guess)
DescriptionWhen you go forward from cl=user, oxid will redirect to cl=payment.

In normal browsers works good. In Android not.

The URL is correct
http://www.example.com/index.php?cl=payment&lang=1
...but android displays the start-page.



I printed out the environment

$_GET:
array(
  cl=payment
  lang=1
)

$_POST:
array(
)

$_SERVER:
array(
...
  REQUEST_METHOD=POST
...
)


Ok, seems a bug in android... but IE-Bugs are fixed well, here.
Steps To ReproduceJust order somthing in the test-store.

Android Simulator:
http://developer.android.com/sdk/index.html
Additional InformationFixed with:

core/oxconfig.php

change from:
        if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'POST' && isset( $_POST[$sName] ) ) {
            $sValue = $_POST[$sName];
        } elseif ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'GET' && isset( $_GET[$sName] ) ) {
            $sValue = $_GET[$sName];
            //<deprecated>
        } elseif ( oxSession::hasVar( $sName ) ) {
            $sValue = oxSession::getVar( $sName );
            //</deprecated>
        } else {
            $sValue = null;
        }

to:
        if ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'POST' && isset( $_POST[$sName] ) ) {
            $sValue = $_POST[$sName];
        } elseif ( isset( $_SERVER['REQUEST_METHOD'] ) && $_SERVER['REQUEST_METHOD'] == 'GET' && isset( $_GET[$sName] ) ) {
            $sValue = $_GET[$sName];
        } elseif(isset($_REQUEST[$sName])){//fix
            $sValue=$_REQUEST[$sName];
            //<deprecated>
        } elseif ( oxSession::hasVar( $sName ) ) {
            $sValue = oxSession::getVar( $sName );
            //</deprecated>
        } else {
            $sValue = null;
        }
TagsOrder
ThemeBoth
Browserother
PHP Versionany
Database Versionany

Relationships

has duplicate 0003094 resolvedLinas Kukulskis Its not possible to finish an order by using android standard browser 
has duplicate 0003100 resolvedLinas Kukulskis Order process: Android platform redirects to startpage when changing from step 2 to step 3 
related to 0003155 resolvedLinas Kukulskis oxConfig::getInstance()->getParameter return no GET-Params if request-method is post 

Activities

Linas Kukulskis

2011-08-23 13:06

reporter   ~0005089

fixed with 3155 bug fix