Ok now I have replicated the bug.

There's a little mistake on your side but the system is failing to explain 
it properly.

There's a missing comma between "UTC" and "hostname". Try to paste this 
NetJSON into the advanced mode and it should work:

{
    "general": {
        "ula_prefix": "",
        "maintainer": "",
        "description": "",
        "timezone": "UTC",
        "hostname": "localhost"
    }
}

Regarding the failure of the system to explain the JSON syntax error 
properly, that's indeed a bug and I did not notice this before, thank you 
for reporting it! I opened an issue in the repository of the relevant 
module: [admin] JSON syntax errors not reported properly #30 
<https://github.com/openwisp/django-netjsonconfig/issues/30>.

Federico

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to