Project

General

Profile

Task #7423

Story #7422: Invalid system metadata with some CN system metadata entries

Python baseclient should handle invalid system metadata produced by the CNs

Added by Dave Vieglais about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2015-10-12
Due date:
% Done:

100%

Estimated time:
0.00 h
Story Points:
Sprint:

Description

CNs are producing invalid system metadata, confusing NULL with empty strings or empty structures.

The Pyxb parser is stricter than Jibx, and raises validation errors when parsing invalid system metadata. In the cases examined, the errors are inconsequential, so it is safe to ignore the invalid xml error.

Task is to adjust the python baseclient class to support retrying of the invalid system metadata for known conditions.


Related issues

Related to Python GMN - Bug #7738: GMN perpetually retries system metadata updates after failures New 2016-04-14

History

#1 Updated by Dave Vieglais about 9 years ago

Exceptions thrown are:

pyxb.SimpleFacetValueError and pyxb.IncompleteElementContentError

Add option to ignore these errors and retry parsing of the invalid content.

#2 Updated by Dave Vieglais about 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 30 to 100
  • translation missing: en.field_remaining_hours set to 0.0

Resolved with r16646

#3 Updated by Mark Servilla over 8 years ago

  • Related to Bug #7738: GMN perpetually retries system metadata updates after failures added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)