From: Kohashi, T. <te...@ko...> - 2012-01-10 07:06:07
|
Kohashiです。 > > (3) index.rb更新直後の表示で undefined method `encodings' この原因も、(1)と同根の @diaries にまつわるものでした。(^^;) 表示順を指定する$diaries_daysと同期していないのが、原因でした。 ともかく、報告まで。 明日、帰省先から東京に戻ります。 戻ってから、本格的な修正に入ります。 小橋 --- On Mon, 09 Jan 2012 23:57:17 +0900 > kohashiです。 > > > blex α6 (blex 0.0.6) コードチェック > > > > 現在の重大な障害(major bug, fatal error)は、次の3点あります。 > > > > (1) ページの編集登録で undefined method `categories' > > (2) ページのトップページ表示でエラー undefined method `add_referer' > > (3) index.rb更新直後の表示で undefined method `encodings' > > このうちの(1)について、原因が判明しました。 > > @diariesをBLEXクラスに引き継いで、処理している。 > ポインタ渡しのため、意図せず、内容が更新されていた。 > かつ、BLEXクラス中で、@mode=update時に必要がないにもかかわらず、@diaries > を独自に作成して、更新していた。(つまり、pluginクラスの@diariesが更新される) > > そのため、更新時の記事が、BLEXが更新した最近の@diariesに存在しない古い日 > 付の場合、エラーが発生していました。 > > BLEXクラスで、@diariesの生成が必要なモードを再度見直すことで、解消しそう > です。 > > 小橋 > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > tDiary-devel mailing list > tDi...@li... > https://lists.sourceforge.net/lists/listinfo/tdiary-devel > |