Countly / countly-server

Countly is a product analytics platform that helps teams track, analyze and act-on their user actions and behaviour on mobile, web and desktop applications.
https://countly.com
Other
5.58k stars 972 forks source link

Feedback - Cannot read property 'fnSettings' of undefined #1799

Closed Acolyte closed 2 years ago

Acolyte commented 3 years ago

Screenshots (if appropriate):

image

Steps to Reproduce (for bugs)

  1. Log into Countly
  2. Visit Feedback page
  3. Click on Ratings list

Your Environment

Issue log (from Chrome console)

countly.vyyer.id-1618339948109.log

frknbasaran commented 3 years ago

Hello @Acolyte,

Thanks for the information that you provided. I just created a clean Countly Community (20.11.1) instance on an Ubuntu 20.04 server to reproduce your case, but I couldn't reproduce this problem. Could you provide more information, please?

Acolyte commented 3 years ago

Hello @frknbasaran, We've set up a mobile application and haven't used data populator, having mobile app plugged in right after the setup. The production mode is enabled. Currently it's the only page we've encountered this issue - the concern that was raised by mobile developer is that he sent a value of 0. I can supply feedback BSON backup if necessary - yesterday we upgraded to 20.11.1 in hope that it might solve the issue.

frknbasaran commented 3 years ago

Hello again,

Thanks for the answers that you provided. Could you please clarify what is mobile developer's concern exactly?

Does your mobile developer think the app sent incorrect data to the server via SDK? If your data isn't sensitive, it would be great if you can share the BSON backup of the feedbackAPPID collection from countly database.

Let's assume your app_id is 6076bef5f4049dacf0181295, then the feedback collection name is feedback6076bef5f4049dacf0181295.

You can find your app_id by following these steps:

Screen Shot 2021-04-14 at 13 38 03
Acolyte commented 3 years ago

Hi @frknbasaran, yes, his concern was that he send value of 0 for feedback.

Please find an archive with feedback data (and metadata) attached

feedback.tar.gz

frknbasaran commented 3 years ago

Hello @Acolyte,

Sorry for the late response. I used the dump to try to reproduce your issue but couldn't reproduce it. I need more information to understand the problem. If the problem still exists, is it possible to create a test member for me in your instance?

Here is what you should do if it's possible:

If it's possible, here is my email address: fb@count.ly

Vlad-M-1 commented 3 years ago

@frknbasaran, Here is the Android code which broke ratings page on the newly deployed Countly:

    Countly
        .sharedInstance()
        ?.ratings()
        ?.recordManualRating(
            BuildConfig.COUNTLY_WIDGET,
            rating,
            "",
            wholeMessage,
            false
        )

• BuildConfig.COUNTLY_WIDGET contained widget ID. • wholeMessage was "Test 0 " + some info about the device. • rating was 0 (which was intended as a way to send only the text feedback).

ar2rsawseen commented 2 years ago

This was on old ui, we have new rewritten frontend now, so most probably this issue should not exist, but if you still encounter it, feel free to reopen :)