待辦事項 #10100

[Known Issue] TFatal error on ShadeSoap_NusoapServer
啟用日期: 2007-03-15 15:56 最後更新: 2007-04-30 14:08

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

細節

/modules/legacy/lib/ShadeSoap/NusoapServer.class.php
L117-118
ShadeSoap_NusoapServer::invoke_method()
で XCube 用に追加したっぽい

$root->mController->mUser->setService(true);
$retValue = call_user_func_array($call_arg, array
($root->mController->mUser, $this->methodparams));

この部分に使われている
$root->mController->mUser
が存在しないって怒られちゃいます
それっぽいのは
$root->mContext->mUser
で発見されたけどそれにも setService() なんてめそっどな
いから違うのかなぁ?
いちおう上記の2行を

$retValue = call_user_func_array($call_arg, array
($root->mContext->mUser, $this->methodparams));

にすると動作はするけど・・・
ごーるがさっぱりわかんないので,あとはよろしくおねがい
します

Ticket History (3/7 Histories)

2007-03-15 16:07 Updated by: mumincacao
評語
Logged In: YES
user_id=24376

さーびす周りでもうひとつ
/core/XCube_Service.class.php L60-63
XCube_Service のめんばに

/**
* @var XCube_ActionStrategy
*/
var $_mActionStrategy = null;

って過去の遺産が置き忘れてあるみたいです
2007-03-16 20:04 Updated by: minahito
評語
Logged In: YES
user_id=8353

[EN]
In /modules/legacy/lib/ShadeSoap/NusoapServer.class.php
L117-118, ShadeSoap_NusoapServer::invoke_method(),

$root->mController->mUser->setService(true);
$retValue = call_user_func_array($call_arg, array
($root->mController->mUser, $this->methodparams));

$root->mController->mUser is null, so it raises a fatal
error. Perhaps, it is $root->mContext->mUser, but it doesn't
have setService(). The following code can work the error line;

$retValue = call_user_func_array($call_arg, array
($root->mContext->mUser, $this->methodparams));

However, I don't know the goal of this program, so I can not
fix this bug.
2007-03-20 12:27 Updated by: minahito
  • 優先權 Update from 5 - 中 to 7
2007-04-10 12:54 Updated by: minahito
  • 負責人 Update from (無) to minahito
  • 優先權 Update from 7 to 4
  • 處理結果 Update from to Accepted
評語
Logged In: YES
user_id=8353

This is our 'homework' for Cube 1.0. In Legacy 2.1, this is
'Known Issue'.
2007-04-10 12:56 Updated by: minahito
評語
Logged In: YES
user_id=8353

If you have to use XCube_Service, do define {Your}_Service
as sub-class of XCube_Service to get your goal.

[JA]
もし近いうちに XCube_Service を使わなければまずいのであれ
ば、 {なんちゃら}_Service を XCube_Service のサブクラスとし
て定義してしのいでください。m(__)m
2007-04-25 19:11 Updated by: minahito
  • Summary Updated
評語
Logged In: YES
user_id=8353

This task is Cube 1.0.
2007-04-30 14:08 Updated by: (del#8225)
  • Ticket Close date is changed to 2007-04-30 14:08
  • 處理結果 Update from Accepted to Later
  • 狀態 Update from 開啟 to 關閉
評語
Logged In: YES
user_id=8225

This issue is moved to sf.net
http://sourceforge.net/tracker/index.php?func=detail&aid=1709883&group_id=159211&atid=943471

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. » 登入