farmbot_os icon indicating copy to clipboard operation
farmbot_os copied to clipboard

Mark As command does not update plant age

Open mdingena opened this issue 3 years ago • 0 comments

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

  1. Add plant to garden.
  2. Set plant status to Planned.
  3. Set plant age to older than 1 day.
  4. Add plant to new group.
  5. Create a sequence with a Mark As command that marks a location variable as status: planted.
  6. Set sequence location variable to externally defined.
  7. Call sequence, specify the group created in step 4.

image

mdingena avatar Mar 09 '21 00:03 mdingena