[TUIGWAA-18] トラックバックプラグインが利用できない Created: 2006-06-26 Updated: 2008-04-21 Resolved: 2006-07-21 |
|
Status: | Resolved |
Project: | Tuigwaa |
Component/s: | plugin |
Affects Version/s: | 0.9 |
Fix Version/s: | 0.9 |
Type: | Bug | Priority: | Major |
Reporter: | NakaiTakashi | Assignee: | someda |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
Trunk (rev. 733) |
Description |
Trunk (rev. 733) においてトラックバックプラグインを使用しても #trackback(5) 「テストサイト」の下に0.8のblog 風サンプルと同じものを作成して確認しました。 |
Comments |
Comment by someda [ 2006-07-21 ] |
一時的に reopen。 |
Comment by someda [ 2006-07-20 ] |
JavaClassServiceImpl#doCreateClass 内で、importedClassName が null でない場合に、 tgw_dateyear_<プロパティ名> を持つかどうかを調べ、持たない場合は新たに元のクラスを SuperClass に持つクラスを生成し、
を行い、そのクラスを Entity のクラスとして利用するように変更した。 尚、この変更により、Plugin クラス内でダイレクトに元のクラスを new をすると不整合がおきるので、 entity.newInstance で取得するように変更。 |
Comment by someda [ 2006-07-04 ] |
Date 型のプロパティがあったために発生しているのが原因です。 ただし、ModelService#readJavaClass については、いずれにせよ変更の必要があります。 |