Download
Entwicklung
Konto
Download
Entwicklung
Anmelden
Vergessen Konto/Passwort
Konto erstellen
Sprache
Hilfe
Sprache
Hilfe
×
Anmelden
Anmeldename
Passwort
×
Vergessen Konto/Passwort
Übersetzungsstatus von Deutsch
Kategorie:
Software
Personen
PersonalForge
Magazine
Wiki
Suche
OSDN
>
Finden Software
>
XOOPS Shade
>
Ticket-Liste / Suche
>
Ticket #10087
XOOPS Shade
Beschreibung
Projekt Zusammenfassung
Entwickler-Dashboard
Web-Seite
Entwickler
Bildergalerie
RSS Feed-Liste
Aktivität
Statistiken
Historie
Downloads
Aller Releases-Liste
Statistiken
Quellcode
Quellcode-Repositorys-Liste
CVS
Repository ansehen
Ticket
Ticket-Liste
Liste der Meilensteine
Typenliste
Komponentenliste
Liste der zuletzt benutzten Tickets/RSS
Neue Ticket abschicken
Dokumente
Wiki
Titelseite
Titel-Index
Kürzliche Änderungen
Doc Mgr
List Docs
Kommunikation
Forum-Liste
cubson (28)
Neuigkeiten
Ticket #10087
Ticket-Liste
Neue Ticket abschicken
RSS
Wizard
Eröffnet am:
2007-03-13 12:02
Letztes Update:
2007-10-17 15:37
beobachte
ON
OFF
Auswertung:
izayoi_iria
Verantwortlicher:
minahito
Typ:
cubson Bugs
Status:
Offen [Owner assigned]
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Accepted
Datei:
Keine
Details
Antworten
たぶんバグだと思われるものを。
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-Verlauf (2/2 Historien)
2007-03-30 14:47
Aktualisiert von:
minahito
Verantwortlicher
Update from
(Keine)
to
minahito
Lösung
Update from
Keine
to
Accepted
Kommentar
Antworten
Logged In: YES
user_id=8353
バグ2ですが、アンダースコア非推奨縛りを入れるかもしれません。
現在の設計(あくまで命名解析からスタートする)だとうまい回避
策がないので...
2007-10-17 15:37
Aktualisiert von:
tom_g3x
Kommentar
Antworten
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
Dateianhangliste (
0
)
Dateianhangliste
Keine Anhänge
Bearbeiten
Kommentar hinzufügen
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Anmelden
Kommentar hinzufügen
Vorschau
Abschicken
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」というフォルダが存在しないの
と、
管理画面用の機能によって動きませんでした。
以上。