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

データセット名を変更した場合も変更前の名前が表示される #60

Open
Sheile opened this issue Mar 31, 2023 · 0 comments

Comments

@Sheile
Copy link
Contributor

Sheile commented Mar 31, 2023

データセット名を「dataset1」で作成した後、Manageボタンから「Changed」に変更した場合、以下のようになる。

ckan=# select * from package;
-[ RECORD 1 ]-----+-------------------------------------
id                | 0ed05aa4-9ad9-408d-bd22-8170b7b517d7
name              | dataset1
title             | Changed
~以下略~

CKANの画面上では「Changed」として表示されるが、拡張機能ではpackage.titleではなくpackage.nameを使っているため、変更前の「dataset1」が表示されてしまう。
整合性が無くてわかりづらいが、CKANとしては以下のように扱っているように見える。

  • Package(Dataset)
    • id: 使用しない
    • name: URLに使用する一意なキー
    • title: 画面表示に使う名称
  • Resource
    • id: URLに使用する一意なキー
    • name: 画面表示に使う名称

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant