プロジェクト

全般

プロフィール

Bug(バグ) #4438

kaoru nほぼ4年前に更新

h3. Overview (現象)

opCommunityTopicPlugin がインストールされた状態で
doc/ja/OpenPNE3_Version_Up_Guide.txt
の手順に従ってバージョンアップ後、コミュニティイベントにコメント投稿を行うと下記エラーが発生する。

<pre>
PHP Fatal error: Uncaught TypeError: Argument 1 passed to sfPatternRouting::configureRoute() must be an instance of sfRoute, string given, called in (snip)/cache/(snip)/pc_frontend/prod/config/config_core_compile.yml.php on line 3546 and defined in (snip)/cache/(snip)/pc_frontend/prod/config/config_core_compile.yml.php:3553\nStack trace:\n#0 (snip)/cache/(snip)/pc_frontend/prod/config/config_core_compile.yml.php(3546): sfPatternRouting->configureRoute('C:17:"opDynamic...')\n#1 (snip)/cache/(snip)/pc_frontend/prod/config/config_core_compile.yml.php(3490): sfPatternRouting->connect('communityEvent_...', 'C:17:"opDynamic...')\n#2 (snip)/plugins/opCommunityTopicPlugin/lib/opCommunityTopicToolKit.class.php(74): sfPatternRouting->setRoutes(Array)\n#3 (snip)/plugins/opCommunityTopicPlugin/lib/opCommunityTopicToolKit.class.php(48): opCommunityTopicToolkit::getPostMailAddress('mail_community_...', Array)\n#4 /var/www/sns in (snip)/cache/(snip)/pc_frontend/prod/config/config_core_compile.yml.php on line 3553, referer: https://(snip)/communityEvent/882
</pre>

※ opCommunityTopicPlugin 以外の投稿時にも同様のエラーは発生する。

h3. Causes (原因)

https://github.com/FriendsOfSymfony1/symfony1/issues/169
にて言及されているものと考えられる

h3. Way to fix (修正内容)

https://github.com/FriendsOfSymfony1/symfony1/pull/212
この修正を適用する

h3. 要確認

https://github.com/FriendsOfSymfony1/symfony1/pull/212
を適用することの影響
この修正を適用することで問題が発生しなくなることを確認したが影響範囲を確認できていない。

戻る