Tíquete #10526

undefined constant on AbstractAction
: 2007-06-01 18:20 Última Atualização: 2007-10-17 15:26

Relator:
Dono:
(Nenhum)
Tipo:
Estado:
Aberto
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
Nenhum

Details

/cubson/Generator/Project/AbstractActionGenerator.cs
の AbstractActionGenerator::CreateActionClass() にある
getDefaultView.AppendCode("return {Dirname}
_FRAME_VIEW_NONE;");

execute.AppendCode("return {Dirname}
_FRAME_VIEW_NONE;");
で {DIRNAME} じゃなく {Dirname} になってるので

/class/AbstractAction.class.php
に生成されるこーどの
AbstractAction::getDefaultView()
AbstractAction::execute()
にある

return Dirname_FRAME_VIEW_NONE;

ってとこの戻り値に使う定数に小文字が混じっちゃうみたい
です
Abstract で上書き前提だから動作には影響ないけど・・・

Ticket History (1/1 Histories)

2007-10-17 15:26 Updated by: tom_g3x
Comentário
Logged In: YES
user_id=6745

「転載済」
http://sourceforge.net/tracker/index.php?func=detail&aid=1814872&group_id=184930&atid=996868

Attachment File List

No attachments

Editar

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