【问题标题】:Worklight JSONStore initCollection ErrorWorklight JSONStore initCollection 错误
【发布时间】:2013-02-15 16:15:17
【问题描述】:

环境:

  • Worklight v5.0.5

当我使用以digit(ex. 0, 9)_开头的字符作为集合名称时, PERSISTENT_STORE_FAILURE 发生错误。

代码如下

var name = '0aaa';
WL.JSONStore.initCollection(name, searchfields, [options]);

【问题讨论】:

  • 嗯,去看看。这是在 Android 上还是 iOS 上?

标签: ibm-mobilefirst jsonstore


【解决方案1】:

您需要以字母 [A-Z]+ 或 [a-z]+ 开头 JSONStore 集合。例如:aaa 而不是 0aaa。我已经打开了一个错误来研究是否允许集合以数字和符号开头,以便在 JSONStore 的未来版本中使用。

【讨论】:

  • 好的。这是错误...我将使用字母而不是数字或符号。谢谢。等待未来的发布..
猜你喜欢
  • 2013-05-18
  • 2013-01-13
  • 2013-07-18
  • 2015-01-25
  • 2013-08-13
  • 2014-08-10
  • 2014-09-19
  • 2013-02-14
  • 2014-06-29
相关资源
最近更新 更多