Télécharger
Développer
Compte
Télécharger
Développer
Connexion
Mot de passe oublié ?
Créer un compte
Langue
Aide
Langue
Aide
×
Connexion
Nom du compte
Mot de passe
×
Mot de passe oublié ?
Traduction statut du Français
Catégorie :
Logiciel
Peuple
PersonalForge
Magazine
Wiki
Recherche
OSDN
>
Trouver un logiciel
>
XOOPS Shade
>
Ticket List/Search
>
Ticket #10087
XOOPS Shade
Description
Résumé du projet
Dashboard - Développeur
Page Web
Développeurs
Galerie d'images
Liste des flux RSS
Activité
Statistiques
Historique
Téléchargements
List of Releases
Stats
Code Source
Liste des dépôts de code
CVS
Voir le référentiel
Ticket
Liste des tickets
Liste des Jalons
Liste des types
Liste des composants
Liste des tickets/RSS fréquemment utilisés
Soumettre un nouveau ticket
Documents
Wiki
Page de garde
Index du titre
Modifications récentes
Doc Mgr
List Docs
Communication
Liste des forums
cubson (28)
Nouvelles
Ticket #10087
Liste des tickets
Soumettre un nouveau ticket
RSS
Wizard
Date d'ouverture:
2007-03-13 12:02
Dernière mise à jour:
2007-10-17 15:37
monitor
ON
OFF
Rapporteur:
izayoi_iria
Propriétaire:
minahito
Type:
cubson Bugs
État:
Ouvert [Owner assigned]
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Accepted
Fichier:
Aucun
Détails
Répondre
たぶんバグだと思われるものを。
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
Propriétaire
Update from
(Aucun)
to
minahito
Résolution
Update from
Aucun
to
Accepted
Commentaire
Répondre
Logged In: YES
user_id=8353
バグ2ですが、アンダースコア非推奨縛りを入れるかもしれません。
現在の設計(あくまで命名解析からスタートする)だとうまい回避
策がないので...
2007-10-17 15:37
Updated by:
tom_g3x
Commentaire
Répondre
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
Modifier
Ajouter un commentaire
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Connexion
Ajouter un commentaire
Aperçu
Soumettre
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」というフォルダが存在しないの
と、
管理画面用の機能によって動きませんでした。
以上。