Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
XOOPS Shade
>
Ticket List/Search
>
Incidencia #10087
XOOPS Shade
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Código Fuente
Code Repository list
CVS
Ver Repositorio
Incidencia
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)
Noticias
Incidencia #10087
Ticket List
Submit New Ticket
RSS
Wizard
Abrir Fecha:
2007-03-13 12:02
Última actualización:
2007-10-17 15:37
monitor
ON
OFF
Informador:
izayoi_iria
Propietario:
minahito
Tipo:
cubson Bugs
Estado:
Open [Owner assigned]
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Accepted
Fichero:
Ninguno
Details
Responder
たぶんバグだと思われるものを。
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
Propietario
Update from
(Ninguno)
to
minahito
Resolución
Update from
Ninguno
to
Accepted
Comentario
Responder
Logged In: YES
user_id=8353
バグ2ですが、アンダースコア非推奨縛りを入れるかもしれません。
現在の設計(あくまで命名解析からスタートする)だとうまい回避
策がないので...
2007-10-17 15:37
Updated by:
tom_g3x
Comentario
Responder
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
Editar
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Entrar
Add Comment
Vista previa
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」というフォルダが存在しないの
と、
管理画面用の機能によって動きませんでした。
以上。