Adriano Faria Posted January 31, 2023 Posted January 31, 2023 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. Afrodude, SeNioR- and teraßyte 2 1
Daniel F Posted January 31, 2023 Posted January 31, 2023 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. SeNioR- and Adriano Faria 1 1
Adriano Faria Posted February 20, 2023 Author Posted February 20, 2023 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.
Solution Marc Posted March 10, 2023 Solution Posted March 10, 2023 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. Tripp★ 1
Recommended Posts