Skip to content

Incorrect view of warnings and errors in schema import from Excel feature. #4623

Closed
@kirill-tolochko

Description

Problem description

Incorrect work of warnings and errors during schema import from Excel

Step to reproduce

Steps to reproduce the behavior:

  1. Create tool, create policy
  2. Try to import schema in Excel format with errors here http://localhost:4200/schemas?type=tool
    Schemas with errors.xlsx
    (or Export any working schema with formulas, and put #REF! instead of any item of the formula to reproduce the error)
  3. Check errors in the dialog window
    Image

Expected behavior

Middle column is filled

Actual behavior

Middle column isn't filled. It's

{{ error.__path }}
in the frontend\src\app\modules\schema-engine\schema-view-dialog\schema-view-dialog.component.html

But looks like this __path isn't defined anywhere

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions