Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: api request post method doesn't support create new option of single select #630

Closed
Niko030303 opened this issue Mar 24, 2023 · 5 comments · Fixed by #1014
Closed

fix: api request post method doesn't support create new option of single select #630

Niko030303 opened this issue Mar 24, 2023 · 5 comments · Fixed by #1014
Assignees
Labels
bug Something isn't working

Comments

@Niko030303
Copy link

Describe the bug
API request post method doesn't support creating the new options of single select

To Reproduce
Steps to reproduce the behavior:

  1. Use postman to create a request to create a record containing a single select field
  2. create a new option for single select

Expected behavior
support creating a new option of single select

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Niko030303 Niko030303 added the bug Something isn't working label Mar 24, 2023
@yort-feng yort-feng reopened this Apr 6, 2023
@yort-feng yort-feng reopened this Apr 7, 2023
@yort-feng
Copy link

@sqkkyzx
Copy link

sqkkyzx commented Jun 20, 2023

1605f412271149dbec899732e5e8bef

@yort-feng

@arucil
Copy link
Contributor

arucil commented Jun 26, 2023

@sqkkyzx Sorry, I couldn't reproduce this error. What's the structure of your table?

@arucil arucil reopened this Jun 26, 2023
@sqkkyzx
Copy link

sqkkyzx commented Jun 30, 2023

@sqkkyzx Sorry, I couldn't reproduce this error. What's the structure of your table?

复现方式:

1、新建表,添加一个新的单选字段,单选字段中不设置任何可选值。
2、使用API创建一行数据,会返回此错误。

具体表现:

经长期观察,此 BUG 不定期会重现。大部分时间通过API创建行时,会自动创建选项。但最近几天时常观察到日志中出现此错误,导致数据未能及时创建。

期望:

关于单选和多选,当提交值不在选项列表时,如何处理提交的数据(究竟是返回错误,还是会自动新增选项),有一个明确的说明。目前似乎隔几天能够自动新增,再隔几天会返回错误。

  • 如果能够自动更新选项,请保持该API能够持续稳定的运行。
  • 如果该API定义为不能自动更新选项,请提供新增选项的API。

开放API是贵司宣传的主要优势,希望在此功能上,能够保持稳定,而非在一个功能上摇摆不定,导致用户需要频繁更改表字段类型,频繁更改业务代码。

@arucil
Copy link
Contributor

arucil commented Jul 4, 2023

@sqkkyzx Fixed in v0.23.0-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants