Skip to content

Conversation

@nasuno-ascade
Copy link

Purpose

addons/weko/views.py::_publish_project_metadata() の 未病DBスキーマ(is_mebyo_schema(schema_id) == True)分岐に対する単体テストを追加。

  • 未病DBスキーマの場合、project_metadata["grdm-files"] が空/未設定でも 400 にならず処理が継続し、デポジット用タスクが enqueue されること。
  • 同分岐で find_missing_required_fields() による 必須項目チェックが実行され、必須項目が欠けている場合に HTTP 400 とメッセージが返ること。

Changes

None

QA Notes

None

Documentation

None

Side Effects

None

Ticket

None

@nasuno-ascade nasuno-ascade requested a review from hide24 December 25, 2025 08:29
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

Successfully merging this pull request may close these issues.

2 participants