Ticket #10098

#10090 and more
Eröffnet am: 2007-03-15 11:56 Letztes Update: 2007-03-16 20:14

Auswertung:
Verantwortlicher:
Status:
Geschlossen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine

Details

#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-Verlauf (3/3 Historien)

2007-03-16 19:55 Aktualisiert von: minahito
Kommentar
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 Aktualisiert von: minahito
  • Verantwortlicher Update from (Keine) to minahito
  • Lösung Update from Keine to Accepted
2007-03-16 20:14 Aktualisiert von: minahito
  • Ticket Close date is changed to 2007-03-16 20:14
  • Lösung Update from Accepted to Gefixt
  • Status Update from Offen to Geschlossen
Kommentar
Logged In: YES
user_id=8353

Fixed. Thanks.

Dateianhangliste

Keine Anhänge

Bearbeiten

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