Opened 15 years ago

Closed 15 years ago

#98 closed defect (fixed)

Duplicated FGDC overview element from metadata edit

Reported by: mattblanchette Owned by: geonetwork-devel@…
Priority: major Milestone: v2.4.0 RC2
Component: User interface (web) Version: v2.2.0 Final
Keywords: Cc: sppigot@…

Description

When an FGDC overview element (Overview Description) is added on the Advanced view metadata edit form with the + button, two elements are actually added.

If one of the overview elements is attempted to be removed with the x button, the number of overview elements increases instead to 6.

The number of overview elements also doubles simply by opening a metadata entry for editing or when switching between XML and form editing views.

Change History (2)

comment:1 by mattblanchette, 15 years ago

eainfo is a choice element
With either a sequence or an element in the dropdown
Selecting the sequence works, but selecting the element (overview, named "Overview Description" in dropdown) will add both the sequence and the element.

 <eainfo>
    <eainfoTypeSEQUENCE_ELEMENT0>
      <overview>
        <eaover />
        <eadetcit />
      </overview>
    </eainfoTypeSEQUENCE_ELEMENT0>
    <overview>
      <eaover />
      <eadetcit />
    </overview>
  </eainfo>

comment:2 by ticheler, 15 years ago

Cc: sppigot@… added
Milestone: v2.4.0 RC2
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.