Bonsoir,
Il y a bien un soucis sur le fait d’utiliser la fonction sur une commande historisée qui ne contient aucune donnée en BDD, ce qui provoque l’erreur 500 : Internal Server Error.
jeedom:alpha ← Phpvarious:patch-17
opened 07:49PM - 09 Aug 22 UTC
Lorsque la fonction est appelée avec une commande historisée mais sans donnée en… BDD, elle renvoie une erreur "Undefined offset: 0" et ne permet pas de sauvegarder un virtuel, car celui-ci déclenche une "erreur 500".
<!--
Thanks for your contribution to make Jeedom better!
-->
## Proposed change
<!--
Explain you PR here and why Core maintainers should accept it.
You can link to Community subject if discussed there.
-->
## Type of change
<!--
What type of change your PR is
-->
- [ ] 3rd party lib update
- [X ] Bugfix (non breaking change)
- [ ] Core new feature
- [ ] UI new functionnality
- [ ] Code quality improvements
- [ ] Core documentation
## Test check
<!--
Describe here on which hardware, OS, Core version and eventually plugins you have tested your PR against.
Give a maximum of details on what you did test, under which circumstances, and which side effect you did tried to handle.
-->
## Documentation
<!--
Some useful links for contributors
-->
[beta-testing](https://doc.jeedom.com/en_US/beta/)
[contribute](https://doc.jeedom.com/en_US/contribute/)
[community](https://community.jeedom.com/)
[plugins](https://doc.jeedom.com/en_US/dev/)
3 « J'aime »