Skip to content

Rules Manager - opening old rules using standalone geofence does not work #11987

@MV88

Description

@MV88

Description

the rule panel is empty when opening an existing rule using a standalone instance of geofence AND when a rule has no layer defined. so technically this is reproducible outside client insfrastructure

the EditorEnhancer has a filter that prevents its execution, therefore we have to remove that filter and adapt the styles and attribute fetch adding a if to check if there re layer and workspace. so handle that case.

we can also create a function for the styles and attributes to be reused (3 times)

How to reproduce

  • open rule manager
  • edit existing rule

Expected Result

to be able to
Current Result

not able to blank page becasue gsInstances array is empty

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions