SEED-platform / seed

Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
107 stars 55 forks source link

Reject import file if it contains braces #4537

Closed perryr16 closed 7 months ago

perryr16 commented 7 months ago

Background

Curly braces { } are an angular reserved operator used to pass variables from js to html, if braces are included in incoming file headers angular becomes confused and misrepresents data.

What's this PR do?

Rejects import files if the headers contain curly braces { }. Invalid files will be rejected before the mapping screen.

How should this be manually tested?

example invalid header file (any file with braces in a header will do) 12props_special_characters.xlsx

What are the relevant tickets?

4511

Screenshots (if appropriate)

Screenshot 2024-02-15 at 3 59 16 PM

github-actions[bot] commented 7 months ago

Label error. Requires at least 1 of: Feature, Bug, Enhancement, Maintenance, Documentation, Performance, Do not publish. Found: