Skip to Content Skip to Menu

CB Activity 6.0 - Mentions: Notification bug and Firefox bug

  • dg1
  • dg1
  • OFFLINE
  • Posts: 27
  • Thanks: 1
  • Karma: 1
9 months 3 weeks ago - 9 months 3 weeks ago #336861 by dg1
Hi,

When I turn on mention notifications, I get an error:

0 - Call to undefined method CB\Plugin\Activity\Table\ActivityMentionTable::getTagUserId()

My suspicion is an invalid line of code in the file:
/home/.../public_html/components/com_comprofiler/plugin/user/plug_cbactivity/library/Controller/ActivityController.php
Code:
                            ->setUserId( $mention->getTagUserId() )

Shouldn't it be:
Code:
                            ->setUserId( $mention->getUserId() )

Another noticed problem with mentions is their incorrect handling in the FireFox browser.
After clicking on the username, everything below the editor area disappears from the page. :-(
Tests were conducted on Windows 7, Windows 10 and Android.
The test site demo.cbdemosites.com/ has the same error. Screenshot attached.
 

In Chrome and Opera browsers it is ok.

Regards,
Last edit: 9 months 3 weeks ago by dg1.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 months 3 weeks ago #336869 by krileon

0 - Call to undefined method CB\Plugin\Activity\Table\ActivityMentionTable::getTagUserId()

Fixed for next build release.

Another noticed problem with mentions is their incorrect handling in the FireFox browser.
After clicking on the username, everything below the editor area disappears from the page.

Was able to confirm. Very strange. Will look into this further and fix as soon as possible.


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: dg1

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 months 3 weeks ago #336871 by krileon
Ok, the mention bug is due to FireFox unfortunately still being an underwhelming browser. Their selection API is working incorrectly according to the standards on blur events (it should be outputting the element that was just left not the element that was just focused). Am working on a workaround.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
9 months 3 weeks ago #336878 by krileon
Ok, both issues are now fixed in latest CB Activity build release. Few additional Firefox workarounds were implemented for contenteditable as there's long standing bugs they've yet to fix.


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: dg1

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

Moderators: beatnantkrileon
Powered by Kunena Forum