Skip to content

Preconditions from the tools are not respected #779

@Gelio

Description

@Gelio
  • I have checked that this bug has not yet been reported by someone else
  • I have checked that this bug appears on Chrome
  • I have specified the version :
  • other: 0.4.6
  • I have specified my environment :
  • Ubuntu 20.04 LTS

Screenshots

Edge Creation forbidden in Sirius Desktop, as expected (due to preconditions set to aql:false):

Peek.2021-10-17.16-46.mp4

It is allowed in Sirius Web (neither Start nor Complete conditions are checked):

Peek.2021-10-17.16-48.mp4

Steps to reproduce

Add Conneciton Start Precondition or Connection Complete Precondition to an Edge Creation Tool:

image

Expected behavior

  1. The edge creation tool does not appear at all or appears but is disabled (when the Connection Start Precondition results in false)
  2. The edge creation tool has the disabled icon when Connection Complete Precondition results in false

Actual behavior

Despite preconditions being false, the edge can be freely created, as if they were not taken into account.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions