﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4042	OMEdit crash when saving model with conflicting variable names	Pierre Haessig <pierre.haessig@…>	Adeel Asghar	"I was mistakenly creating a Modelica code where there was a conflict between two identifiers (see attached file: parameter y00 and constant block y0). When saving the file in OMEdit, it crashes.

The bug is 100% reproducible on my machine (Debian testing, using the binary deb package, OMEdit version 1.11.0~dev-5-gfe7fc5f, Connected to OpenModelica 1.11.0~dev-155-gbf0142e, i.e. from the ""jessie nightly"" channel).

I'm attaching the file to reproduce the crash. Steps are:

1) Open the mo file in OMEdit
2) Rename the parameter y00 to ""Y0"" (so as to create the name conflict with block ""y0"")
3) Ctrl+S to save -> crash

Expected behavior: OMEdit shouldn't crash but instead report the name conflict. "	defect	closed	high	1.11.0	OMEdit	v1.11.0	fixed		
