Skip to Content Skip to Menu

[SOLVED] After upgrade to CB 2.0 userlist filter scambled

  • KatoKalin
  • KatoKalin
  • OFFLINE
  • Posts: 265
  • Thanks: 11
  • Karma: -5
  • Add-ons
10 years 3 weeks ago - 10 years 3 weeks ago #250460 by KatoKalin
This is what my filter looks like with CB 1.9.1
Code:
( ( SELECT COUNT(*) FROM `#__comprofiler_plugin_privacy` AS p WHERE p.`type` = 'profile' AND p.`user_id` = u.`id` AND p.`rule` != 'ACCESS-2' AND ue.`cb_field` != '') != 'ACCESS-2')

And this is what it looks like after upgrading to CB 2.0 no matter if on Joomla 2.5.27 or 3.3.x
Code:
%28%20%28%20SELECT%20COUNT%28*%29%20FROM%20%60%23__comprofiler_plugin_privacy%60%20AS%20p%20WHERE%20p.%60type%60%20%3D%20%27profile%27%20AND%20p.%60user_id%60%20%3D%20u.%60id%60%20AND%20p.%60rule%60%20%21%3D%20%27ACCESS-2%27%20AND%20ue.%60cb_field%60%20%21%3D%20%27%27%29%20%21%3D%20%27ACCESS-2%27%29

So at least this is a Non-Joomla issue.
Last edit: 10 years 3 weeks ago by krileon.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 3 weeks ago #250490 by krileon
Was able to confirm. It's due to CB 1.x storing encoded. It will need to be decoded and stored during the upgrade process. Fixing for a nightly build.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

Please Log in or Create an account to join the conversation.

  • fundsauce
  • fundsauce
  • OFFLINE
  • Posts: 36
  • Thanks: 4
  • Karma: 0
10 years 3 weeks ago - 10 years 3 weeks ago #250552 by fundsauce
Replied by fundsauce on topic After upgrade to CB 2.0 userlist filter scambled
nevermind :)
Last edit: 10 years 3 weeks ago by fundsauce. Reason: My question was answered elsewhere thanks. :)

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 3 weeks ago #250565 by nant
Nightly build pushed - would be nice for someone to confirm that this is fixed with latest nightly build.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8283
  • Karma: 1443
10 years 3 weeks ago #250592 by krileon
Please note it will only fix installs upgrading from 1.x to 2.x. It won't fix existing 2.x installs. Existing installs will need to manually fix their filters.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • KatoKalin
  • KatoKalin
  • OFFLINE
  • Posts: 265
  • Thanks: 11
  • Karma: -5
  • Add-ons
10 years 3 weeks ago #250670 by KatoKalin
Replied by KatoKalin on topic After upgrade to CB 2.0 userlist filter scambled

nant wrote: Nightly build pushed - would be nice for someone to confirm that this is fixed with latest nightly build.


I can confirm that the issue is fixed with new build after update to J3.3.6
The following user(s) said Thank You: nant, krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum