Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 343

WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
04/09/18 03:02 PM (6 years ago)

Repeating JSON entries

When my config.txt is built most screens, not all, have double entries for the same screen; "itemId": "77F44F3DB0D91C621C69FB3", "itemType": "BT_screen_pdfDoc", "itemNickname": "Altered Level of Consciousness", "itemId": "77F44F3DB0D91C621C69FB3", "itemType": "BT_screen_pdfDoc", "itemNickname": "Altered Level of Consciousness", "navBarTitleText": "Altered Level of Consciousness", "localFileName": "Altered Level of Consciousness (2017).pdf" Where would I look for the offending code? - Tim
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/09/18 07:36 PM (6 years ago)
It happens somehow in the BT infrastructure; nothing on our end. It'll still work, despite Jsonlint barking at you. If you want to fix it, you'll need to edit your database manually. And it will still happen again. Cheers! -- Smug
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
04/09/18 07:46 PM (6 years ago)
Hey there Smug. This is on my self hosted server.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/10/18 12:37 AM (6 years ago)
Mine too. But it's gotta be part of the code that generates the json, at BTCentral. Nothing within the PHP for our self hosted. I've looked. And looked. If I missed something, please let me know, because the OCD in me constantly edits my MySQL server... Cheers! -- Smug
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
04/19/18 02:52 PM (6 years ago)
I've seen that too and it hasn't been a problem, but I haven't seen problems with JSONLINT.com either. I haven't been making apps the last few years, though, so maybe it acts up with newer code.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.