1.1K Star 6.2K Fork 5.1K

OpenHarmony / docs

 / 详情

[Bug]: 【Openharmony4.1.3.1】【master分支】【分布式数据管理子系统】【ToC】【必现】Preference接口资料问题

Done
Opened this issue  
2023-11-13 19:30

发生了什么问题?

首选项接口文档地址:https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md
首选项接口文档中,get、getSync、put、putSync、has、hasSync、delete、deleteSync等接口缺少对参数长度限制说明

期望行为是什么?

首选项接口文档地址:https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md
首选项接口文档中,put、putSync接口缺少对入参key和value的长度限制说明,key最长是80字节,value最长是8192字节。get、getSync、has、hasSync、delete、deleteSync等接口缺少对入参key的长度限制说明,key最长是80字节

如何复现该缺陷

查看首选项接口文档:https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md

其他补充信息

版本或分支信息

  • master
  • Release 3.2
  • Release 3.1
  • Release 3.0

Comments (1)

董静静 created任务
董静静 added
 
bug
label
Expand operation logs

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @NEEN @zengyawen @时睿 @Peter_1988 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @NEEN @zengyawen @时睿 @Peter_1988 for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci added
 
waiting_for_assign
label
Public_OpenHarmonyTest set related project to OpenHarmony
Public_OpenHarmonyTest set priority to Secondary
Public_OpenHarmonyTest added
 
Integration_Test
label
Public_OpenHarmonyTest set branch to master
Public_OpenHarmonyTest changed issue state from 待办的 to 已完成
Public_OpenHarmonyTest changed issue state from 已完成 to 待办的
Public_OpenHarmonyTest changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(2)
7387629 openharmony ci 1656582662
other
1
https://gitee.com/openharmony/docs.git
git@gitee.com:openharmony/docs.git
openharmony
docs
docs

Search