farmbot_os
farmbot_os copied to clipboard
Mark As command does not update plant age
When you inspect any plant and manually change its Planned
status to Planted
, its age resets to 1 day old.
Expected Behavior
When using the Mark As
command to change a variable's status
field to Planted
, I expect it will reset the variable's age to 1 day old (if the variable is a plant, or a variable that has an age
property).
Actual Behavior
The plant is marked as Planted
but its age remained the same as before.
Steps to Reproduce
- Add plant to garden.
- Set plant status to
Planned
. - Set plant age to older than 1 day.
- Add plant to new group.
- Create a sequence with a
Mark As
command that marks a location variable asstatus: planted
. - Set sequence location variable to externally defined.
- Call sequence, specify the group created in step 4.