待辦事項 #10098

#10090 and more
啟用日期: 2007-03-15 11:56 最後更新: 2007-03-16 20:14

回報者:
負責人:
狀態:
關閉
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:

細節

#10090 の続きだけど close しちゃってるからおにうで

/modules/legacy/admin/class/ModuleInstallUtils.class.ph
p L394
Legacy_ModuleInstallUtils::installAllOfBlocks() にある

Legacy_ModuleInstallUtils::installBlock($module,
$newBlock, $block, $mLog);

の最後の引数は $mLog じゃなくって

Legacy_ModuleInstallUtils::installBlock($module,
$newBlock, $block, $log);

みたいな無印の $log じゃないと installBlock でろぐを出
すときに Fatal しちゃいます

ついでにその飛び先の Legacy_Utils::installBlock() で

$log->addWarn(...);

が3箇所あるけど Legacy_ModuleInstallLog では
addWarning($msg)
として定義されてるみたいです

Ticket History (3/3 Histories)

2007-03-16 19:55 Updated by: minahito
評語
Logged In: YES
user_id=8353

[EN]
This is the next of #10090, but because it has been closed,
I report this as a new item.

IN /modules/legacy/admin/class/ModuleInstallUtils.class.ph
p L394
Legacy_ModuleInstallUtils::installAllOfBlocks()

Legacy_ModuleInstallUtils::installBlock($module,
$newBlock, $block, $mLog);

$mLog is TYPO. It should be $log.


In addition, in Legacy_Utils::installBlock(), there are the
following code at three points;

$log->addWarn(...);

But, Legacy_ModuleInstallLog defines not addWarn() but
addWarning().
2007-03-16 20:12 Updated by: minahito
  • 負責人 Update from (無) to minahito
  • 處理結果 Update from to Accepted
2007-03-16 20:14 Updated by: minahito
  • Ticket Close date is changed to 2007-03-16 20:14
  • 處理結果 Update from Accepted to 修正
  • 狀態 Update from 開啟 to 關閉
評語
Logged In: YES
user_id=8353

Fixed. Thanks.

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入