|
From: SourceForge.net <no...@so...> - 2007-10-17 06:34:13
|
Bugs : Cubson item #1814880, was opened at 2007-10-17 15:34 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=996868&aid=1814880&group_id=184930 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tom Hayakawa (tom_g3x) Assigned to: Nobody/Anonymous (nobody) Summary: <sf.jp> Wizard 1 Initial Comment: 登録日:2007-03-13 12:02 登録者:izayoi (izayoi_iria) サマリ: Wizard たぶんバグだと思われるものを。 1:このテーブルにwizardを使用するとおかしな動作をしま す。 CREATE TABLE {prefix}_{dirname}_TestTable( test_id int(10) not null auto_increment, test_add text, primary key (test_id) ); 2:cubsonからWizardコマンドを使用。 例)wizard TestTable 3:生成された「forms/TestTableEditForm.class.php」内 48行目: $this->mFieldProperties['test_add']- >setDependsByArray(array('')); ※array('')となってしまう。 ●回避方法 1:「test_add」に「NotNull」制約を入れる(文字数制限で も可能) 2:「'(シングルクォート)」を削除する。 ・修正 48行目: $this->mFieldProperties['test_add']- >setDependsByArray(array()); テーブルの作り方をしっかりすれば問題ないのですが… 一応、ご報告。 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=996868&aid=1814880&group_id=184930 |