Skip to content

Anchor negative offset validation fails to re-run in some cases #1829

@dandelany

Description

@dandelany

While testing #1822 with @AaronPlave we noticed an issue with anchor validation not re-running in some cases. This seems to be a pre-existing bug not directly related to #1822 - to reproduce:

  1. Create an activity ("Activity A") on a plan, within plan bounds
  2. Create another activity ("B") and anchor it to the end time of Activity A
  3. Set the time offset of Activity B to a small negative interval, like 1 second. This is invalid/not allowed, & you should see an error message ("has a net negative offset relative to an end-time anchor").
  4. Move the start time of Activity A (the anchor parent) slightly
  5. Observe that the expected validation error on Activity B has now gone away

This is relatively low priority if this is the only case where this happens - however we should investigate and identify if this occurs for other types of validation errors too, or just this.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingplanningAnything related to the planning domain

Type

No type
No fields configured for issues without a type.

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions