操作
Bug(バグ) #223
完了When Member::setConfig() is executed after Member::getConfig(), it is not save correctly. (Member::getConfig()の後にMember::setConfig()を実行すると正しく保存されない)
開始日:
2009-11-10
期日:
進捗率:
100%
予定工数:
3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)
説明
When Member::setConfig() is executed after Member::getConfig(), it is not save correctly.
For example:
var_dump($member->getConfig('foo')); // return NULL.
$member->setConfig('foo', 'bar');
var_dump($member->getConfig('foo')); // return NULL. 'bar' is returned correctly.
$member->setConfig('foo', 'baaar');
var_dump($member->getConfig('foo')); // return NULL. 'baaar' is returned correctly.
At this time, member_config table as follows:
mysql> select name,value from member_config; +------------+----------------------------------+ | name | value | +------------+----------------------------------+ | foo | bar | | foo | baaar | +------------+----------------------------------+ 2 rows in set (0.00 sec)
操作