MapStore2
MapStore2 copied to clipboard
LongitudinalProfileTool plugin sidebar menu causes app to crash in downstream project
Description
The LongitudinalProfileTool plugin for setting up the sidebar dropup menu, the offset is calculated from containerclass which defaults to container in MS, however in the downstream project the container class may differ and it could even be a class and not an id. Due to this, an undefined exception is thrown causing the app to crash.
How to reproduce
Cannot reproduce in MS
Expected Result The plugin should not cause a crash regardless of the container class
Current Result The plugin causes the app to crash
- [x] Not browser related
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)| Browser Affected | Version |
|---|---|
| Internet Explorer | |
| Edge | |
| Chrome | |
| Firefox | |
| Safari |