Opened 13 years ago
Closed 13 years ago
#3629 closed defect (fixed)
opGenerate:pluginで空のプラグインを作成したとき管理画面のプラグイン設定で500エラー
Reported by: | ShogoKawahara | Owned by: | ShogoKawahara |
---|---|---|---|
Priority: | minor | Milestone: | OpenPNE3.0.2 |
Component: | core | Version: | 3.0.x |
Keywords: | Cc: |
Description (last modified by )
現象
http://openpne3.openpne.jp/communityTopic/1?page=4?
【画面】 管理画面 - プラグイン設定 【概要】 現時点のtrunkを新規にインストール後、「symfony opGenerate:plugin opSamplePlugin」だけを実行し管理画面のプラグイン設定を開くと「The server returned a "500 Internal Server Error".」とsymfonyのエラーになる。 【再現手順】 上記の通り。 【その他】 バグか判断できなかったのですが、一応報告します
原因
開発環境で確認した結果、
Fatal error: Call to a member function getVersion() on a non-object in #OPENPNE_DIR#/lib/plugin/opPlugin.class.php on line 48
というエラーが出ていました。
$packageが空のため起きるようです。
Change History (4)
comment:1 Changed 13 years ago by
Type: | enhancement → defect |
---|
comment:2 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:3 Changed 13 years ago by
Owner: | changed from nobody to ShogoKawahara |
---|---|
Status: | new → assigned |
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
r10755
で修正しました。