Ticket #299 (closed defect: fixed)

Opened 21 months ago

Last modified 4 months ago

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

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

Change History

Changed 21 months ago by justinrowles

Screenshot of results (there are more dupes offscreen).

Changed 21 months ago by justinrowles

  • status changed from new to closed
  • resolution set to fixed

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

Changed 21 months ago by justinrowles

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 21 months ago by justinrowles

Changed 20 months ago by ticheler

  • milestone changed from v2.6.0 to v2.6.1

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

Changed 19 months ago by heikki

  • milestone changed from v2.6.1 to v2.6.2

Changed 19 months ago by fxp

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

Changed 12 months ago by fxp

Applied to 2.6.x branches in r7724

Changed 12 months ago by fxp

  • milestone changed from v2.6.3 to v2.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) ?

Changed 4 months ago by fxp

  • status changed from reopened to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.