Adriano Faria Posted January 31 Share Posted January 31 Hello, Polls are left behind when you uninstall an application. To make life easier, core_polls should have a "class" column or any way to identify the source, like core_follow has (follow_app and follow_area), that would make easier to list only polls from an specific app or even to delete them when uninstalling an app. Thanks. teraßyte, Afrodude and SeNioR- 2 1 Link to comment Share on other sites More sharing options...
Daniel F Posted January 31 Share Posted January 31 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release. Adriano Faria and SeNioR- 1 1 Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 20 Author Share Posted February 20 Adding one more issue to the Polls. It seems I'm required to use Clubs in my apps in order to make polls work. Although there's a condition n \IPS\Content\Item::getPoll() to check if you're in a club, I got on my app without use Club trait: Quote Error thrown with message "Call to undefined method IPS\staffappsystem\Category::club()" Stacktrace: #13 Error in C:\wamp64\www\47x\system\Content\Item.php:8462 #12 IPS\Content\_Item:getPoll in C:\wamp64\www\47x\applications\staffappsystem\sources\Applicationrecord\Applicationrecord.php:1034 #11 IPS\staffappsystem\_Applicationrecord:getPoll in C:\wamp64\www\47x\system\Content\Item.php:5440 #10 IPS\Content\_Item:canCommentReview in C:\wamp64\www\47x\system\Content\Item.php:5317 #9 IPS\Content\_Item:canComment in C:\wamp64\www\47x\system\Content\Item.php:4678 #8 IPS\Content\_Item:commentForm in C:\Windows\Temp\the93F.tmp:161 #7 IPS\Theme\theme_staffappsystem_front_view_comments in C:\wamp64\www\47x\system\Theme\Dev\Template.php:171 #6 IPS\Theme\Dev\_Template:__call in C:\wamp64\www\47x\applications\staffappsystem\sources\Applicationrecord\Applicationrecord.php:213 #5 IPS\staffappsystem\_Applicationrecord:positionViewTabs in C:\wamp64\www\47x\applications\staffappsystem\modules\front\general\view.php:45 #4 IPS\staffappsystem\modules\front\general\_view:manage in C:\wamp64\www\47x\system\Dispatcher\Controller.php:118 #3 IPS\Dispatcher\_Controller:execute in C:\wamp64\www\47x\system\Content\Controller.php:50 #2 IPS\Content\_Controller:execute in C:\wamp64\www\47x\applications\staffappsystem\modules\front\general\view.php:37 #1 IPS\staffappsystem\modules\front\general\_view:execute in C:\wamp64\www\47x\system\Dispatcher\Dispatcher.php:153 #0 IPS\_Dispatcher:run in C:\wamp64\www\47x\index.php:13 Once I add the Club trait in my container model, everything works. Link to comment Share on other sites More sharing options...
Solution Marc Stridgen Posted March 10 Solution Share Posted March 10 Just a quick update to let you know that this issue was resolved in the recent 4.7.8 release of our platform. Please upgrade your site to resolve this issue. If you are still seeing any issues after upgrading to this version, please let us know. Link to comment Share on other sites More sharing options...
Recommended Posts