Project

General

Profile

Actions

Bug #1323

closed

Registry: Need to check that all entry fields do not include any <, > and other characters

Added by Saurabh Garg about 20 years ago. Updated over 19 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
registry
Target version:
Start date:
02/05/2004
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1323

Description

I think all the following errors reportd by Andrea and Rick happened because of
the fields that we dont check.

1. After filling in all required info (and some fields that were not required),
I clicked submit entry, got the summary page, entered my username and password,
and clicked the button that says I don’t want to change anything. I then
received this error message:
Failure
An error occurred. Most likely some required fields were missing. Please check
the list of errors below and return to the previous form to fill in all
required fields and submit the form again.
• Error running xpath
expression: //dateTimeDomain|//nonNumericDomain|//numericDomain|//access|//attri
buteList|//constraint|//coverage|//temporalCoverage|//geographicCoverage|//taxon
omicCoverage|/dataset|/eml/dataset|//dataSource|//dataTable|//otherEntity|//cita
tion|//address|//conferenceLocation|//party|//originator|//creator|//contact|//p
ublisher|//editor|//recipient|//performer|//institution|//metadataProvider|//ass
ociatedParty|//personnel|//physical|//connectionDefinition|//distribution|//rese
archProject|//project|//relatedProject|//software|//spatialRaster|//spatialRefer
ence|//spatialVector|//storedProcedure|//view|//protocol|//additionalMetadata :
XML document structures must start and end within the same entity.
Thankfully this time when I returned to edit the page all of my entries were
still there. But, I was stuck and unable to complete the submittal of the
metadata (since I didn’t know what the problem was).

2. When entering the metadata in the file ‘/nceas-wg-metadata/decaf/aust-
phenandphys-dataset.xml’, the software generated a ‘Failure’ screen and raised
the following error: ‘error returning xpath: expression //dateTimeDomain. . .
<long attribute path>../AdditionalMetatdata XML document structures must start
and end with the same entity’. The error was fatal in that the metadata was not
entered into the database. All required fields have been entered, and there are
no visible errors in any of the data input fields when I saved the data. I have
replicated this error four times over two days and have been so far unable to
save this metadata to the repository.
Note: I have traced this defect to placement of ‘<’,’>’, or ‘&’ character
appearing in one of the following text entry field: Data Set Title,
Organization Name, Abstract, and Geographic Description fields. Other free-text
data fields may present the sampe problem.


Related issues

Is duplicate of Metacat - Bug #1485: Trouble in entering data in NRS ...ResolvedSaurabh Garg04/13/2004

Actions
Actions

Also available in: Atom PDF