简体   繁体   中英

JSONStore initialization fails

I'm trying to get JSONStore working in MobileFirst 7 application on Lenovo A7000-a. But JSONStore throws error on initialization. However on my LG P880 it works fine. Here is the code of init:

var collections = {
    configuration : {
      searchFields : { id : 'string' }
    },
    taskList : {
      searchFields : { id : 'string' }
    },
    statistics : {
      searchFields : { subCategoryId : 'string' }
    },
    issues : {
      searchFields : {
        id            : 'string',
        internalId    : 'string',
        taskListId    : 'string',
        subCategoryId : 'string',
        subTaskId     : 'string'
      }
    },
    subCategories : {
      searchFields : {}
    },
    categories : {
      searchFields : {}
    },
    resultQueue : {
      searchFields : {
        taskListId: 'string'
      }
    }
  };

  WL.JSONStore.init(collections)
    .then( function (result) {
      angular.element(document).ready(function() {
        angular.bootstrap(document, ['App']);
      });
    },
    function (error) {
      console.log('ERROR: cannot initialize JSONStore');
    });

And here is the error I get: 在此处输入图片说明 Based on error I guess that this error fires because lenovo has 64-bit ARM processor (MT6752M). Is there a way to fix this problem?

Update your MobileFirst Platform Foundation 7.0 installation to the latest available iFix from IBM Fix Central, which will contain the following fix:

PI43196 JSONSTORE DOES NOT CORRECTLY IDENTIFY X86_64 ARCHITECTURE PROCESSORS ON MOBILE DEVICES

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM