Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #27431 All Revisions ] Back to Issue ]
Summary 0027431: Sometimes the business partner is empty when the WebPOS loads
Revision 2014-08-29 10:32 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.

Reproduced in Q4:

When this happens:

The WebPOS is inoperative:
    - fails to add some products whilst others can be added
    - some added products can be deleted whilst others can't
    - the total to pay is always '0.00'
    - the sale can't be finished
    - the receipt can't be deleted


This console errors are shown:

    - when trying to delete a product from the receipt
        Uncaught TypeError: Cannot read property 'get' of null (cause: this.get('bp') === null)
    
        this.receipt.calculateTaxes = function (callback) {
            var me = this,
                bpTaxCategory = this.get('bp').get('taxCategory'),

    - when trying to delete the receipt:
        Uncaught TypeError: Cannot read property 'constructor' of null (cause: model.constructor === null)

            OB.Dal.remove = function (model, success, error) {
                var modelDefinition = OB.Model[model.constructor.prototype.modelName],

        Uncaught TypeError: Cannot read property 'get' of undefined

            if (OB.POS.modelterminal.hasPermission('OBPOS_receipt.invoice')) {
                if (OB.POS.modelterminal.hasPermission('OBPOS_retail.restricttaxidinvoice') && !OB.POS.modelterminal.get('businessPartner').get('taxID')) {

    - when trying to create a new receipt:
        Uncaught TypeError: Cannot read property 'get' of undefined (cause: OB.POS.modelterminal.get('businessPartner') === undefined)

            if (OB.POS.modelterminal.hasPermission('OBPOS_receipt.invoice')) {
                if (OB.POS.modelterminal.hasPermission('OBPOS_retail.restricttaxidinvoice') && !OB.POS.modelterminal.get('businessPartner').get('taxID')) {


Console trace when loading the WebPOS:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB


TestRegistry.registry('payment_paymentTabContent').enyoObject.model.get('order'):

    child {attributes: Object, _escapedAttributes: Object, cid: "c31", changed: Object, _silent: Object…}
    _callbacks: Object
    _changing: false
    _escapedAttributes: Object
    _pending: Object
    _previousAttributes: Object
    _silent: Object
    attributes: Object
    approvals: Array[0]
    bp: null
    change: 0
    client: null
    createdBy: null
    currency: null
    currency$_identifier: null
    description: ""
    documentNo: ""
    documentType: null
    generateInvoice: false
    gross: 0
    hasbeenpaid: "N"
    id: null
    isEditable: true
    isLayaway: false
    isPaid: false
    isQuotation: false
    isbeingprocessed: "N"
    lines: child
    net: 0
    oldId: null
    openDrawer: false
    orderDate: Fri Aug 29 2014 08:54:30 GMT+0200 (CEST)
    orderType: 0
    organization: null
    paidOnCredit: false
    payment: 0
    payments: child
    posTerminal: null
    posTerminal$_identifier: null
    priceIncludesTax: null
    priceList: null
    print: true
    qty: 0
    salesRepresentative: null
    salesRepresentative$_identifier: null
    sendEmail: false
    session: null
    taxes: null
    totalamount: null
    undo: null
    updatedBy: null
    warehouse: null
    __proto__: Object
    calculateTaxes: function (callback) {
    changed: Object
    cid: "c31"


Installed modules:

    org.openbravo.advpaymentmngt/
    org.openbravo.agingbalance/
    org.openbravo.base.weld/
    org.openbravo.client.application/
    org.openbravo.client.htmlwidget/
    org.openbravo.client.kernel/
    org.openbravo.client.myob/
    org.openbravo.client.querylist/
    org.openbravo.client.widgets/
    org.openbravo.financial.cashflowforecast/
    org.openbravo.financial.paymentreport/
    org.openbravo.mobile.core/
    org.openbravo.mobile.warehouse/
    org.openbravo.reports.ordersawaitingdelivery/
    org.openbravo.retail.config/
    org.openbravo.retail.copystore/ (!)
    org.openbravo.retail.discounts/
    org.openbravo.retail.giftcards/
    org.openbravo.retail.pack/
    org.openbravo.retail.poshwmanager/
    org.openbravo.retail.posterminal/
    org.openbravo.retail.returns/
    org.openbravo.retail.sampledata/
    org.openbravo.service.datasource/
    org.openbravo.service.integration.google/
    org.openbravo.service.integration.openid/
    org.openbravo.service.json/
    org.openbravo.userinterface.selector/
    org.openbravo.userinterface.skin.250to300Comp/
    org.openbravo.userinterface.smartclient/
    org.openbravo.utility.multiplebpselector/
    org.openbravo.v3/
    org.openbravo.v3.datasets/
    org.openbravo.v3.framework/
Revision 2014-08-29 09:55 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB


TestRegistry.registry('payment_paymentTabContent').enyoObject.model.get('order'):

    child {attributes: Object, _escapedAttributes: Object, cid: "c31", changed: Object, _silent: Object…}
    _callbacks: Object
    _changing: false
    _escapedAttributes: Object
    _pending: Object
    _previousAttributes: Object
    _silent: Object
    attributes: Object
    approvals: Array[0]
    bp: null
    change: 0
    client: null
    createdBy: null
    currency: null
    currency$_identifier: null
    description: ""
    documentNo: ""
    documentType: null
    generateInvoice: false
    gross: 0
    hasbeenpaid: "N"
    id: null
    isEditable: true
    isLayaway: false
    isPaid: false
    isQuotation: false
    isbeingprocessed: "N"
    lines: child
    net: 0
    oldId: null
    openDrawer: false
    orderDate: Fri Aug 29 2014 08:54:30 GMT+0200 (CEST)
    orderType: 0
    organization: null
    paidOnCredit: false
    payment: 0
    payments: child
    posTerminal: null
    posTerminal$_identifier: null
    priceIncludesTax: null
    priceList: null
    print: true
    qty: 0
    salesRepresentative: null
    salesRepresentative$_identifier: null
    sendEmail: false
    session: null
    taxes: null
    totalamount: null
    undo: null
    updatedBy: null
    warehouse: null
    __proto__: Object
    calculateTaxes: function (callback) {
    changed: Object
    cid: "c31"


Installed modules:

    org.openbravo.advpaymentmngt/
    org.openbravo.agingbalance/
    org.openbravo.base.weld/
    org.openbravo.client.application/
    org.openbravo.client.htmlwidget/
    org.openbravo.client.kernel/
    org.openbravo.client.myob/
    org.openbravo.client.querylist/
    org.openbravo.client.widgets/
    org.openbravo.financial.cashflowforecast/
    org.openbravo.financial.paymentreport/
    org.openbravo.mobile.core/
    org.openbravo.mobile.warehouse/
    org.openbravo.reports.ordersawaitingdelivery/
    org.openbravo.retail.config/
    org.openbravo.retail.copystore/ (!)
    org.openbravo.retail.discounts/
    org.openbravo.retail.giftcards/
    org.openbravo.retail.pack/
    org.openbravo.retail.poshwmanager/
    org.openbravo.retail.posterminal/
    org.openbravo.retail.returns/
    org.openbravo.retail.sampledata/
    org.openbravo.service.datasource/
    org.openbravo.service.integration.google/
    org.openbravo.service.integration.openid/
    org.openbravo.service.json/
    org.openbravo.userinterface.selector/
    org.openbravo.userinterface.skin.250to300Comp/
    org.openbravo.userinterface.smartclient/
    org.openbravo.utility.multiplebpselector/
    org.openbravo.v3/
    org.openbravo.v3.datasets/
    org.openbravo.v3.framework/
Revision 2014-08-29 09:54 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB


TestRegistry.registry('payment_paymentTabContent').enyoObject.model.get('order'):

    child {attributes: Object, _escapedAttributes: Object, cid: "c31", changed: Object, _silent: Object…}
    _callbacks: Object
    _changing: false
    _escapedAttributes: Object
    _pending: Object
    _previousAttributes: Object
    _silent: Object
    attributes: Object
    approvals: Array[0]
    bp: null
    change: 0
    client: null
    createdBy: null
    currency: null
    currency$_identifier: null
    description: ""
    documentNo: ""
    documentType: null
    generateInvoice: false
    gross: 0
    hasbeenpaid: "N"
    id: null
    isEditable: true
    isLayaway: false
    isPaid: false
    isQuotation: false
    isbeingprocessed: "N"
    lines: child
    net: 0
    oldId: null
    openDrawer: false
    orderDate: Fri Aug 29 2014 08:54:30 GMT+0200 (CEST)
    orderType: 0
    organization: null
    paidOnCredit: false
    payment: 0
    payments: child
    posTerminal: null
    posTerminal$_identifier: null
    priceIncludesTax: null
    priceList: null
    print: true
    qty: 0
    salesRepresentative: null
    salesRepresentative$_identifier: null
    sendEmail: false
    session: null
    taxes: null
    totalamount: null
    undo: null
    updatedBy: null
    warehouse: null
    __proto__: Object
    calculateTaxes: function (callback) {
    changed: Object
    cid: "c31"


Installed modules:

org.openbravo.advpaymentmngt/
    org.openbravo.agingbalance/
    org.openbravo.base.weld/
    org.openbravo.client.application/
    org.openbravo.client.htmlwidget/
    org.openbravo.client.kernel/
    org.openbravo.client.myob/
    org.openbravo.client.querylist/
    org.openbravo.client.widgets/
    org.openbravo.financial.cashflowforecast/
    org.openbravo.financial.paymentreport/
    org.openbravo.mobile.core/
    org.openbravo.mobile.warehouse/
    org.openbravo.reports.ordersawaitingdelivery/
    org.openbravo.retail.config/
    org.openbravo.retail.copystore/
    org.openbravo.retail.discounts/
    org.openbravo.retail.giftcards/
    org.openbravo.retail.pack/
    org.openbravo.retail.poshwmanager/
    org.openbravo.retail.posterminal/
    org.openbravo.retail.returns/
    org.openbravo.retail.sampledata/
    org.openbravo.service.datasource/
    org.openbravo.service.integration.google/
    org.openbravo.service.integration.openid/
    org.openbravo.service.json/
    org.openbravo.userinterface.selector/
    org.openbravo.userinterface.skin.250to300Comp/
    org.openbravo.userinterface.smartclient/
    org.openbravo.utility.multiplebpselector/
    org.openbravo.v3/
    org.openbravo.v3.datasets/
    org.openbravo.v3.framework/
Revision 2014-08-29 09:30 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace when happens:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB


TestRegistry.registry('payment_paymentTabContent').enyoObject.model.get('order'):

    child {attributes: Object, _escapedAttributes: Object, cid: "c31", changed: Object, _silent: Object…}
    _callbacks: Object
    _changing: false
    _escapedAttributes: Object
    _pending: Object
    _previousAttributes: Object
    _silent: Object
    attributes: Object
    approvals: Array[0]
    bp: null
    change: 0
    client: null
    createdBy: null
    currency: null
    currency$_identifier: null
    description: ""
    documentNo: ""
    documentType: null
    generateInvoice: false
    gross: 0
    hasbeenpaid: "N"
    id: null
    isEditable: true
    isLayaway: false
    isPaid: false
    isQuotation: false
    isbeingprocessed: "N"
    lines: child
    net: 0
    oldId: null
    openDrawer: false
    orderDate: Fri Aug 29 2014 08:54:30 GMT+0200 (CEST)
    orderType: 0
    organization: null
    paidOnCredit: false
    payment: 0
    payments: child
    posTerminal: null
    posTerminal$_identifier: null
    priceIncludesTax: null
    priceList: null
    print: true
    qty: 0
    salesRepresentative: null
    salesRepresentative$_identifier: null
    sendEmail: false
    session: null
    taxes: null
    totalamount: null
    undo: null
    updatedBy: null
    warehouse: null
    __proto__: Object
    calculateTaxes: function (callback) {
    changed: Object
    cid: "c31"
Revision 2014-08-29 09:12 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace when happens:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB
Revision 2014-08-29 09:07 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace when happens:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449
Revision 2014-08-26 18:37 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.
Revision 2014-08-23 14:44 by Orekaria
Description Sometimes the business partner is null when the WebPOS loads the first time
If the user creates a sale with that ticket, the final cashup could not be done

Could be related because a patch was introduced and the uuid was not updated
Could be related to bad role configuration
Revision 2014-08-23 12:44 by Orekaria
Description Sometimes the business partner is null when the WebPOS loads the first time
If the user creates a sale with that ticket, the final cashup could not be done

Revision 2014-08-23 12:40 by Orekaria
Description Sometimes the business partner is null when the WebPOS loads the first time
If the user creates a sale with that ticket, the final cashup could not be done


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker