Project

General

Profile

Actions

Bug #5431

closed

Data Manager throws exception for otherEntity when attributeList is optionally omitted

Added by Duane Costa over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
datamanager
Target version:
Start date:
06/27/2011
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5431

Description

The EML schema (2.x.y) specifies that all data entities be classified as one of six different DatasetType types:

dataTable
spatialRaster
spatialVector
storedProcedure
view
otherEntity

Of these, only 'otherEntity' is allowed to optionally specify an 'attributeList' element; the other five entity types are required to specify an 'attributeList' element.

The Data Manager Library assumes that all data entities are required to include the 'attributeList' element, throwing an exception whenever it is not specified. The DML should change its behavior in accordance with the EML schema, allowing 'attributeList' to be an optional element when the DatasetType is 'otherEntity'.

Actions #1

Updated by Duane Costa over 13 years ago

Fixed with the following update:

Author: costa
Date: 2011-06-28 10:15:25 -0700 (Tue, 28 Jun 2011)
New Revision: 2198

Modified:
trunk/src/org/ecoinformatics/datamanager/DataManager.java
trunk/src/org/ecoinformatics/datamanager/parser/Entity.java
trunk/src/org/ecoinformatics/datamanager/parser/generic/GenericDataPackageParser.java
Log:
Fix for Bug 5431 - Data Manager throws exception for otherEntity when attributeList is optionally omitted.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5431

Actions

Also available in: Atom PDF