Bug(バグ) #518
Failed install when there is empty DB (空のDBが存在する時にインストールに失敗する。)
Start date:
2010-01-20
Due date:
% Done:
100%
3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)
Description
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 (再現方法)¶
- execute a openpne:install task. (openpne:installタスクを実行)
- uninstall some plugin of bundle by opPlugin:uninstall task. (バンドルプラグインをopPlugin:uninstall taskでアンインストール)
- create the empty DB. (空のDBを作成)
- execute a openpne:install task again. At this time, empty DB is set. (再びopenpne:installを行う。このとき空のDBを指定する)
Source (報告元)¶
Related issues
Associated revisions
fixed opPlugin:intall task doesn't catch exception when there is not DB (fixes #518)
fixed opPlugin:install task to check the existence of the 'sns_config' table (fixes #518)
History
#1
Updated by Shogo Kawahara over 12 years ago
- Status changed from New(新規) to Accepted(着手)
#2
Updated by Shogo Kawahara over 12 years ago
- Status changed from Accepted(着手) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
更新履歴commit:"b88978e3dbcb5267194d45f8262a999ca0aa07c9"で適用されました。
#3
Updated by Shogo Kawahara over 12 years ago
更新履歴commit:"d56878342da8516ffc46e00cbca03fee6e1e610c"で適用されました。
#4
Updated by Kousuke Ebihara about 12 years ago
- Status changed from Pending Review(レビュー待ち) to Fixed(完了)
- % Done changed from 50 to 100