-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
system: static/MVC hybrid model array vivification issue #3123
Comments
|
This looks related (or inflicted) by #3024, feel free to assign me if this is the case. |
|
It goes back a while longer with a rework in inc/ code and that static code has no real iterator that is free of side effects. I think that merging static code and new models is not the way to go anymore although it looked nice to avoid migrations. It just creates bugs further down the road. :( |
|
I’m afraid you’re right, it looked simple at first, but maybe complicated later on. In this case we’re stuck in this situation, but it’s likely fixable. I’ll take a look at it when I can. |
|
Maybe could drop invalid data from the model on migrations? It would fix itself on updates then... The issue that caused this is: Line 1200 in f6aaaa0
Damage is done so adding protection here won't be a good solution. :/ |
|
Dropping data has consequences too, I’ll have to look into it. The risk I see now is when a software update invalidates your model, you might loose connectivity in the worst case. |
|
I have the same error in version: |
|
Yup, edit /conf/config.xml and remove this block: |
|
@fichtner thanks for the info, I have already done this as mentioned in https://forum.opnsense.org/index.php?topic=10962.0 |
|
Works fine, thanks! ❤️ |
(cherry picked from commit a111b34)
(cherry picked from commit a111b34)
via: https://forum.opnsense.org/index.php?topic=10932.0
The text was updated successfully, but these errors were encountered: