Opened 13 years ago

Closed 13 years ago

#390 closed defect (fixed)

Unnecessary 'match' can cause extra 'Type' fields.

Reported by: justinrowles Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.5
Component: General Version: v2.6.1
Keywords: Cc:

Description

In metadata-edit.xsl, the templateChoice and editButtons templates are only intended to be called by name, but they have a match="*" atrribute.

In some circumstances, this leads to them matching geonet:choice elements, leading the effect shown in the attached screenshot.

Attachments (2)

multipleTypeFields.bmp (644.3 KB ) - added by justinrowles 13 years ago.
Screenshot
removeMatchOnMenuTemplates.diff (673 bytes ) - added by justinrowles 13 years ago.
Fix

Download all attachments as: .zip

Change History (3)

by justinrowles, 13 years ago

Attachment: multipleTypeFields.bmp added

Screenshot

by justinrowles, 13 years ago

Fix

comment:1 by craigj, 13 years ago

Milestone: v2.6.3v2.6.5
Resolution: fixed
Status: newclosed

Fiz applied in r7912 to 2.6.5. Already applied in trunk.

Note: See TracTickets for help on using tickets.