Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
ArrayField->getNodes() returns empty array after write_config()
« previous
next »
Print
Pages: [
1
]
Author
Topic: ArrayField->getNodes() returns empty array after write_config() (Read 3257 times)
NOYB
Jr. Member
Posts: 75
Karma: 6
ArrayField->getNodes() returns empty array after write_config()
«
on:
February 25, 2020, 09:00:44 pm »
After a write_config(), getNodes() returns null/empty array for type ArrayField.
Don't know if this is a bug or me just missing how to refresh the config.
Example model test script attached.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
ArrayField->getNodes() returns empty array after write_config()