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:Failure to import Page Collection in Growi Archive/Import Page Collections in feature Insert by default #7132

Open
takahyon opened this issue Dec 21, 2022 · 0 comments

Comments

@takahyon
Copy link

Environment

Host

item version
OS
GROWI 5.1.8
node.js 16.18.1
npm 8.19.2
yarn 1.22.19
Using Docker yes/no
Using growi-docker-compose yes

Client

item version
OS Windows 10 Pro 21H2
browser Google Chrome Version: 108.0.5359.125(Official Build) (64 bit)

How to reproduce? (再現手順)

  1. Access to https://{GROWI_HOST}/admin/export and create archive and download
  2. Access to https://{GROWI_HOST}/admin/importer and upload archive files and click button "import" (作成したアーカイブをアップロードし、インポートを実行する)

What happens? (症状)

  • Import request was failed and web page show error as below, then admin page disable button around import function
     (以下のエラーが表示され、インポートにかかわるボタンが無効化される.)
 Import request failed.
Upsert is only available for importing pages collection.

image

Interim solution

- Change import mode from Insert to Upsert one by one(only Page Collections secions item). then growi success import Page collections. (ひとつづつupsertに変更していくことでインポート可能になる)
image

What is the expected result? (期待される動作)

  • Growi should be able to import Page Collections with Mode: Insert(Insertでもインポートが実行されること)
    or
  • Import page should be select Mode: Upsert as default in Page Collections section. (もしくはupsertがデフォルトで選択されていること)

Note

Q. Is it a spec that I can only import with Mode: upsert or is import with Mode: insert in the TODO?
(upsertでしかインポートできないのは仕様ですか?or insertでのインポートはTODOに入っていますか?)

@takahyon takahyon changed the title Bug:Growiアーカイブインポート機能のPage CollectionsがデフォルトでInsertになっている Bug:Failure to import Page Collection in Growi Archive/Import Page Collections in feature Insert by default Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants