현재 Eclipse/Worklight v6.2를 사용하여 모바일 웹 앱을 개발 중입니다. 응용 프로그램은 데이터 저장을 위해 로컬 json 저장소를 사용합니다. FireFox v33.1을 사용하여 응용 프로그램을 실행할 때 내 응용 프로그램 내의 기능에서 json 저장소를 지울 때 예상대로 작동합니다. 나는 동일한 기능을 호출 할 때 나는 파이어 폭스 개발자 버전 v35.0a2를 사용하는 경우, 로컬 JSON 저장소가 삭제되지 않고, 나는 다음과 같은 오류 얻을 : 이것은 호출하고 내 응용 프로그램 내에서 함수가Firelight Developer Edition을 사용하는 경우 Worklight JsonStore 오류
"main :: localStoreClear :: Attempting to destroy JSON store..."
Uncaught Exception: TypeError: meta is null at (compiled_code):1751" worklight.js:4886
WL.Logger</__log() worklight.js:4886
WL.Logger</</PUBLIC_API[priority]() worklight.js:5240
WL.Logger</window.onerror() worklight.js:5202
TypeError: meta is null jsonstore.js:1751
입니다 :
/**
* Destroy the local JSON store and reinitialise it
*/
function localStoreClear() {
WL.Logger.info("main :: localStoreClear :: Attempting to destroy JSON store...");
WL.JSONStore.destroy()
.then(function() {
WL.Logger.info("main :: localStoreClear : Destroyed!");
// Reinitialise store
localStoreInit();
})
.fail(function() {
WL.Logger.info("main :: localStoreClear : Failed to destroy!");
});
}
받은 오류 메시지에서 jsonstore.js 파일에 오류가 발생했습니다. 아무도 내가 뭔가 잘못하고있는 경우 또는 FireFox Developer Edition과 Worklight간에 호환성 문제가 있는지 알려 줄 수 있습니까?
미리 감사드립니다.
Chris.
FireFox Developer Edition은 지원되는 브라우저가 아니며 여전히 알파 단계에 있다고 생각합니다. IBM Worklight는 현재이 기능을 지원하지 않습니다. http://www-969.ibm.com/software/reports/compatibility/clarity-reports/report/html/prereqsForProduct?deliverableId=968A9CE03A2E11E396F9FC10E99BE807#sw-11 –