プロジェクト

全般

プロフィール

Bug(バグ) #518

Failed install when there is empty DB (空のDBが存在する時にインストールに失敗する。)

Shogo Kawahara約14年前に追加. 約14年前に更新.

ステータス:
Fixed(完了)
優先度:
Normal(通常)
担当者:
対象バージョン:
開始日:
2010-01-20
期日:
進捗率:

100%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

説明

Overview (概要)

Failed install when there is empty DB.
(空のDBが存在する時にインストールに失敗する。)

Causes (原因)

When there is a config/database.yml and you install the new plugin, opPlugin:install task is written in sns_config table.
However, the error occurs if the table doesn't exist.

(config/database.yml が存在し、新しいプラグインをインストールしたときに、
opPlugin:installタスクはsns_configテーブルに書き込みを行います。
しかし、そのテーブルが存在しないならば、エラーが発生します。)

Reproduction method (再現方法)

  1. execute a openpne:install task. (openpne:installタスクを実行)
  2. uninstall some plugin of bundle by opPlugin:uninstall task. (バンドルプラグインをopPlugin:uninstall taskでアンインストール)
  3. create the empty DB. (空のDBを作成)
  4. execute a openpne:install task again. At this time, empty DB is set. (再びopenpne:installを行う。このとき空のDBを指定する)

Source (報告元)

http://twitter.com/kiiro/status/7976522689


関連するチケット

関連している OpenPNE 3 - Backport(バックポート) #527: Failed install when there is empty DB (空のDBが存在する時にインストールに失敗する。) Fixed(完了) 2010-01-20 2010-02-12
関連している OpenPNE 3 - Backport(バックポート) #528: Failed install when there is empty DB (空のDBが存在する時にインストールに失敗する。) Fixed(完了) 2010-01-20 2010-02-12

関係しているリビジョン

リビジョン b88978e3 (差分)
Shogo Kawahara約14年前に追加

fixed opPlugin:intall task doesn't catch exception when there is not DB (fixes #518)

リビジョン d5687834 (差分)
Shogo Kawahara約14年前に追加

fixed opPlugin:install task to check the existence of the 'sns_config' table (fixes #518)

履歴

#1 Shogo Kawahara約14年前に更新

  • ステータスNew(新規) から Accepted(着手) に変更

#2 Shogo Kawahara約14年前に更新

  • ステータスAccepted(着手) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

更新履歴commit:"b88978e3dbcb5267194d45f8262a999ca0aa07c9"で適用されました。

#3 Shogo Kawahara約14年前に更新

更新履歴commit:"d56878342da8516ffc46e00cbca03fee6e1e610c"で適用されました。

#4 Kousuke Ebihara約14年前に更新

  • ステータスPending Review(レビュー待ち) から Fixed(完了) に変更
  • 進捗率50 から 100 に変更

他の形式にエクスポート: Atom PDF