Adriano Faria Posted October 9, 2017 Share Posted October 9, 2017 I'm trying to use the Colorize Node feature in my apps but I'm getting on streams: Quote SELECT `rc_id`, `rc_name_furl`, `feature_color` FROM `raffles_categories` WHERE ( rc_id IN(1) ) IPS\Db\Exception: Unknown column 'feature_color' in 'field list' (1054) That's because you hardcoded the column name in IPS\Node\Colorize to be used in FORUMS app only. /** * Colorize Trait */ trait Colorize { /** * @brief Table column name that holds the feature color hex */ public static $featureColumnName = 'feature_color'; If I rename my column to remove the table prefix, then it works: But that's not right. It should've been done like reaction, where you pass the ID. Link to comment Share on other sites More sharing options...
bfarber Posted October 10, 2017 Share Posted October 10, 2017 Thanks, I've brought this up in our internal tracker Link to comment Share on other sites More sharing options...
Adriano Faria Posted November 5, 2017 Author Share Posted November 5, 2017 On 10/10/2017 at 10:10 AM, bfarber said: Thanks, I've brought this up in our internal tracker Brandon, as it isn't on 4.2.6 (at least until Beta 3), please make sure it will be on 4.3. Thank you. Link to comment Share on other sites More sharing options...
Adriano Faria Posted February 9, 2018 Author Share Posted February 9, 2018 On 10/10/2017 at 10:10 AM, bfarber said: Thanks, I've brought this up in our internal tracker Brandon, just a remind to change this in 4.3. Link to comment Share on other sites More sharing options...
Adriano Faria Posted April 3, 2018 Author Share Posted April 3, 2018 Still hardcoded in 4.3. ? Link to comment Share on other sites More sharing options...
newbie LAC Posted April 17, 2018 Share Posted April 17, 2018 It would be better to open a ticket than wait. Link to comment Share on other sites More sharing options...
Midnight Modding Posted April 19, 2018 Share Posted April 19, 2018 That's not really a big deal. Sure it's not the best setup, but it's minor compared to other areas I run into, such as methods where there's no way to do something without totally overwriting a large method, such as during the content item creation process. Link to comment Share on other sites More sharing options...
newbie LAC Posted April 19, 2018 Share Posted April 19, 2018 This has been fixed in 4.3.0. Mark my post as best answer Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.