Opened 14 years ago

Closed 13 years ago

#299 closed defect (fixed)

Duplicated fields from metadata.xsl

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

Description

I have some valid metadata in GeoNetwork, and when I view it from the 'default view' tab, some of the elements in the Identification Info section are duplicated (without labels) underneath the bounding box section.

Attachments (3)

xsltduplicatedfields.JPG (39.1 KB ) - added by justinrowles 14 years ago.
Screenshot of results (there are more dupes offscreen).
MetadataTriggeringTickett299.xml (18.6 KB ) - added by justinrowles 14 years ago.
299.patch (911 bytes ) - added by fxp 14 years ago.
Catch all empty elements with gco:nilReason=missing attribute. To be tested a bit more.

Download all attachments as: .zip

Change History (10)

by justinrowles, 14 years ago

Attachment: xsltduplicatedfields.JPG added

Screenshot of results (there are more dupes offscreen).

comment:1 by justinrowles, 14 years ago

Resolution: fixed
Status: newclosed

Can no longer reproduce. Fixed in another change (unknown).

comment:2 by justinrowles, 14 years ago

Resolution: fixed
Status: closedreopened

by justinrowles, 14 years ago

comment:3 by ticheler, 14 years ago

Milestone: v2.6.0v2.6.1

Not a blocker, but something that would be good to resolve in a future release.

comment:4 by heikki, 14 years ago

Milestone: v2.6.1v2.6.2

by fxp, 14 years ago

Attachment: 299.patch added

Catch all empty elements with gco:nilReason=missing attribute. To be tested a bit more.

comment:5 by fxp, 14 years ago

Applied to 2.6.x branches in r7724

comment:6 by fxp, 14 years ago

Milestone: v2.6.3v2.7.0

In the metadocument, element contains geonet:element child which is probably not required (which explains why the patch does not work on trunk). Anybody knows why we have geonet:element even in view mode (see http://localhost:8080/geonetwork/srv/en/metadata.show!?id=1530) ?

comment:7 by fxp, 13 years ago

Resolution: fixed
Status: reopenedclosed

Fix for classic GUI : Committed revision 8559. Works fine in widget GUI.

Note: See TracTickets for help on using tickets.