Quantcast
Channel: SCN : Discussion List - SAP for Mobile
Viewing all articles
Browse latest Browse all 5806

SAP Fiori Error - Create Sales Order app doesn't run after Google Chrome updates

$
0
0

Hi,

I have a problem with the create sales order app (ui5_sd_so_cr).

Everything works fine until Google Chrome browser updates to version 34.0.1847.116 m .

The create sales order application has an error when i try to checkout the cart.

This error is in the SalesOrderCreatePriceAndAvailabilityCheck.controller.js and SalesOrderCartDetails.js in this function:

    

l.oSOCartModel.refreshSecurityToken(function (a, b) {        l.oSOCartModel.create("/SalesOrders", m, null, function (c, d) {            com.sap.kelley.salesordercreate.utils.ModelUtils.updateCartModelFromSimulationResponse(d);            oSObusyIndicator.close();        }, function (g) {            oSObusyIndicator.close();            var d = g.response.body;            var f = jQuery.parseXML(d);            var e = f.getElementsByTagName("message")[0].childNodes[0].nodeValue;                        var c = new sap.m.Dialog({                title: sap.ca.common.uilib.message.AlertMessageBoxType.ERROR.title,                content: [new sap.m.Label({                    text: e                })],                leftButton: new sap.m.Button({                    text: l.oBundle.getProperty("XBUT_OK"),                    tap: function () {                        if (j) {                            l._onNavigateBack();                        }                        c.close();                    }                }),            });            c.addStyleClass("sapSOC-SingleButtonDialog");            c.open();        })    }, function (a) {        oSObusyIndicator.close();        var b = new sap.m.Dialog({            title: sap.ca.common.uilib.message.AlertMessageBoxType.ERROR.title,            content: [new sap.m.Label({                text: sap.ui.getCore()                    .getModel("i18n")                    .getProperty("ERROR_REFRESH_SECURITY_TOKEN")            })],            leftButton: new sap.m.Button({                text: l.oBundle.getProperty("XBUT_OK"),                tap: function () {                    if (j) {                        l._onNavigateBack();                    }                    b.close();                }            }),        });        b.addStyleClass("sapSOC-SingleButtonDialog");        b.open();    }, false);

The error is in the line 07. Cannot read property 'body' of undefined

 

Variable g is undefined.

 

I tested the application with other browsers (IE, Firefox, Safari) and everything works perfectly. Only Chrome has this kind of problem.

 

UISRA

 

UISRA0171000002SAPK-10002INUISRA017HTML5 Create Order

 

System

SAP_BASIS7310007SAPKB73107SAP Basis Component
GW_CORE2000006SAPK-20006INGWCORESAP GW CORE 200
IW_BEP2000007SAPK-20007INIWBEPBackend Event Provider


UI5 version 1.16.4

 

It 'happened to someone else?

How can I fix the problem?

 

Thank you for your help.

 

Regards,

 

Nicola


Viewing all articles
Browse latest Browse all 5806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>