添加身份验证会在成功登录时引发错误(使用敏捷工具包)


Adding authentication throws an error on successful login (Using Agile Toolkit)

我尝试添加$this->api->auth->check();到我的test.php页面,当我正确键入登录凭据时,它会抛出一个错误:

Error in AJAX response: SyntaxError: invalid XML attribute value
Exception_Logic
Method is not defined for this object
Additional information:
    class: Model
    method: tryLoadBy
    arguments: Array ( [0] => email [1] => demo ) 

它在附带的"DVD租赁"示例中也有同样的问题,当我试图登录到管理部分时,它会出现错误。

我认为这可能与这个bug有关:https://github.com/atk4/atk4/issues/67