Skip to content

Mark As command does not update plant age #1327

@mdingena

Description

@mdingena

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions