crash during opening score

• Aug 15, 2018 - 12:47
Reported version
3.0
Type
Functional
Severity
S4 - Minor
Status
closed
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (32-bit): 3.0.0, revision: 3543170

uploaded score lead to crash MuseScore during the opening

Attachment Size
65943.mscz 38.67 KB

Comments

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit 40abead04d

fix #275288: fix deleting tag "Text" when it is empty

During the reading XML MS populate map which consist of lid. This map is container of LinkedElements which is defined by the tag "lid". When tag "Text" doesn't have any text it is deleted. Error was that removing corrresponding element from map container is missing. So I add such kind of removing.

add lid with empty text to unit tests