Download
Magazine
Develop
Account
Download
Magazine
Develop
Login
Forgot Account/Password
Create Account
Language
Help
Language
Help
×
Login
Login Name
Password
×
Forgot Account/Password
Category:
Software
People
PersonalForge
Magazine
Wiki
Search
OSDN
>
Find Software
>
XOOPS Shade
>
Ticket List/Search
>
Ticket #10087
XOOPS Shade
Description
Project Summary
Developer Dashboard
Web Page
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
Downloads
List of Releases
Stats
Source Code
Code Repository list
CVS
View Repository
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Wiki
FrontPage
Title index
Recent changes
Doc Mgr
List Docs
Communication
List of Forums
cubson (28)
News
Ticket #10087
Ticket List
Submit New Ticket
RSS
Wizard
Open Date:
2007-03-13 12:02
Last Update:
2007-10-17 15:37
monitor
ON
OFF
Reporter:
izayoi_iria
Owner:
minahito
Type:
cubson Bugs
Status:
Open [Owner assigned]
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Accepted
File:
None
Details
Reply
たぶんバグだと思われるものを。
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());
テーブルの作り方をしっかりすれば問題ないのですが…
一応、ご報告。
●バグ2?
※makeprojectコマンドにてモジュール名に「_(アンダーバ
ー)」を使用すると、
モジュール名/language/japanese/modinfo.phpに
「_MI_モジュール名_DESC_TESTMODULE」は生成されました
が、
「_MI_モジュール名_LANG_MESBOARD」が生成されませんで
した。
とくに「makeproject」に命名規則は無かったので…
●バグ3?
「templates/testmodule_testtable_list.html」
1.「|theme」の削除
2.「icons」→「images」に変更
3.「"<{」、「}>"」の削除。
・元(8,9,11,12行目)
08行目 <img src="<{"icons/up.gif"|theme}>" alt=…
(中略)
12行目 <img src="<{"icons/down.gif"|theme}>" alt=…
・変更
08行目 <img src="images/up.gif" alt=…
(中略)
12行目 <img src="images/down.gif" alt=…
生成された情報には「icons」というフォルダが存在しないの
と、
管理画面用の機能によって動きませんでした。
以上。
Ticket History (2/2 Histories)
2007-03-30 14:47
Updated by:
minahito
Owner
Update from
(None)
to
minahito
Resolution
Update from
None
to
Accepted
Comment
Reply
Logged In: YES
user_id=8353
バグ2ですが、アンダースコア非推奨縛りを入れるかもしれません。
現在の設計(あくまで命名解析からスタートする)だとうまい回避
策がないので...
2007-10-17 15:37
Updated by:
tom_g3x
Comment
Reply
Logged In: YES
user_id=6745
「転載済」
http://sourceforge.net/tracker/index.php?func=detail&aid=1814880&group_id=184930&atid=996868
http://sourceforge.net/tracker/index.php?func=detail&aid=1814882&group_id=184930&atid=996868
http://sourceforge.net/tracker/index.php?func=detail&aid=1814885&group_id=184930&atid=996868
Attachment File List (
0
)
Attachment File List
No attachments
Edit
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Add Comment
Preview
Submit
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());
テーブルの作り方をしっかりすれば問題ないのですが…
一応、ご報告。
●バグ2?
※makeprojectコマンドにてモジュール名に「_(アンダーバ
ー)」を使用すると、
モジュール名/language/japanese/modinfo.phpに
「_MI_モジュール名_DESC_TESTMODULE」は生成されました
が、
「_MI_モジュール名_LANG_MESBOARD」が生成されませんで
した。
とくに「makeproject」に命名規則は無かったので…
●バグ3?
「templates/testmodule_testtable_list.html」
1.「|theme」の削除
2.「icons」→「images」に変更
3.「"<{」、「}>"」の削除。
・元(8,9,11,12行目)
08行目 <img src="<{"icons/up.gif"|theme}>" alt=…
(中略)
12行目 <img src="<{"icons/down.gif"|theme}>" alt=…
・変更
08行目 <img src="images/up.gif" alt=…
(中略)
12行目 <img src="images/down.gif" alt=…
生成された情報には「icons」というフォルダが存在しないの
と、
管理画面用の機能によって動きませんでした。
以上。