Map import successful without elements from map

XMLWordPrintable

      Import map always successful independent of existence map elements. The message is "Imported successfully".

      It happens because of inherited map elements on map, like this:

                     <selement>
                          <elementtype>1</elementtype>
                          <label>test_map</label>
                          <label_location>3</label_location>
                          <x>11</x>
                          <y>180</y>
                          <elementsubtype>0</elementsubtype>
                          <areatype>0</areatype>
                          <width>200</width>
                          <height>200</height>
                          <viewtype>0</viewtype>
                          <use_iconmap>0</use_iconmap>
                          <selementid>2924</selementid>
                          <element>
                              <name>some_map_name</name>
                          </element>
                          <icon_off>
                              <name>Cloud (32)</name>
                          </icon_off>
                          <icon_on/>
                          <icon_disabled/>
                          <icon_maintenance/>
                          <urls/>
                      </selement>
      

            Assignee:
            Unassigned
            Reporter:
            Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: