Issue with seeing c...
 
Notifications
Clear all

Issue with seeing custom app data on admin portal

3 Posts
2 Users
0 Reactions
682 Views
(@monsterman)
Posts: 2
Active Member
Topic starter
 

Hi so i am currently on version 3.2.4 and have my app all set up. I have created a user and have logged in on that user, the user shows online in the admin portal. Then I go to create data using :

if (!CombuManager.localUser.appCustomData.ContainsKey("Coins"))
            {
                if (Debugging)
                    Debug.Log("Created Coin Data For User");
                CombuManager.localUser.appCustomData["Coins"] = 0;
                hasCreatedData = true;
            }

 

After this I save it using:

if (hasCreatedData)
                {
                    CombuManager.localUser.Update((bool success, string error) =>
                    {
                        if (success)
                        {
                            if(Debugging)
                            Debug.Log("Data Saved to server online");
                            
                        }
                        else
                        {
                            if(Debugging)
                            Debug.Log("Failed: " + error);
                        }
                    });
                }

I'm fairly certain this works just fine, but when I go into the web portal to look at custom app data for that particular user and does not show me anything after selecting the app. I can go over to the database and see that the data exists and matches the same user ID. Is there a reason the web interface isn't displaying the custom app data? I have tried on Brave browser as well as Microsoft Edge. This is the same way I did it when I used Combu 3.0.15

 
Posted : 12/03/2022 11:05 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Seems strange, but since I reworked the administration website (now it's using SmartyTPL to separate logic in PHP files and view in tpl templates) maybe that there's a bug in the filter selection that prevents displaying the correct data for the app. I'll check it out, thank you for the report.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 13/03/2022 9:42 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Ok I found the issue in the javascript code, basically it's not correctly handling the change event so it doesn't load the app's data. I'll deploy a new update in the next week, just doing some more tests on other pages too.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 13/03/2022 10:03 pm
Share: