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

[Bug] missing kintone.fieldTypes.Status by DTS-gen #3108

Open
master-maintenance1-peer-connect opened this issue Dec 26, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@master-maintenance1-peer-connect
Copy link

master-maintenance1-peer-connect commented Dec 26, 2024

Summary

dts-gen did not expand the properties of type=Status.

Target Package

@kintone/dts-gen

Target Version

8.0.13

Reproduction

Confirmed that the field with type=Status can be viewed in the REST API. Execute dts-gen.

kintone.api(kintone.api.url('/k/v1/record.json', true), 'GET',{app: 951, id:1}).then(res => console.log(res))
record:{ 
$id:{type: '__ID__', value: '1'}
$revision:{type: '__REVISION__', value: '5'}
ステータス:{type: 'STATUS', value: '修正中'}
レコード番号:{type: 'RECORD_NUMBER', value: '1'}
}

Expected Behavior

The fieldCode is 'ステータス'(the Japanese kanji name) in locale=ja-jp,
and 'Status' (the English word) in locale=EN.

On the other hand, in the kintone REST API, you can specify the fieldCode 'ステータス'(the Japanese kanji name) in the query.
like as 'レコード番号'(type: 'RECORD_NUMBER')

Actual Behavior

no fieldCodes of type=Status.

Environment

OS: WIndows 11
locale: Ja-jp
brouser: EDGE

@master-maintenance1-peer-connect master-maintenance1-peer-connect added the bug Something isn't working label Dec 26, 2024
@chihiro-adachi
Copy link
Contributor

@master-maintenance1-peer-connect
thank you.
I have confirmed the reproduction.

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
None yet
Development

No branches or pull requests

2 participants