Opened 12 years ago

Closed 12 years ago

#1205 closed enhancement (fixed)

Schema configuration / Add support for read/write UUID

Reported by: fxp Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.10.0 RC0
Component: General Version: v2.9.0
Keywords: Cc:

Description

Some ISO Profile defines rules to compute metadata UUID (eg. based on resource identifier - made in UFO) which requires the UUID stored in the column uuid of the metadata table to be in synch with the XML document. Currently, the metadata uuid is only updated when the record is inserted or harvested.

In schema-ident.xsl, add an optional parameter:

	</autodetect>
	<!-- After edits, db UUID is synchronized with the record.
	If not, db UUID is only set when inserting the record or harvested. -->
	<readwriteUuid>true</readwriteUuid>
</schema>

If readwriteUuid is set to true, then when updating a metadata, the uuid from the XML document updates the one in the metadata table.

Default is false.

Attachments (1)

1205.patch (13.9 KB ) - added by fxp 12 years ago.

Download all attachments as: .zip

Change History (2)

by fxp, 12 years ago

Attachment: 1205.patch added

comment:1 by fxp, 12 years ago

Resolution: fixed
Status: newclosed

master commit e0880745105fc1f93a2d47fd18961da95d17e523

Note: See TracTickets for help on using tickets.