Skip to content

Firefly-2091 Handle VOTable Error Formats - #2021

Merged
aventura121 merged 1 commit into
devfrom
FIREFLY-2091-invalid-table-xml
Sep 24, 2026
Merged

aventura121 merged 1 commit into
devfrom
FIREFLY-2091-invalid-table-xml

Conversation

@aventura121

@aventura121 aventura121 commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Firefly-2091: "UI Components: Table and chart display problem when the return data (xml format) is invalid"

This pull request also closes: Firefly-1665 "Modify VoTableReader to identify and handle error VOTables"

Description

We make changes to handle different VOTable representations of errors and the case where no table is found.

Unit Tests

We add unit tests with XML fixtures for unhandled formats and the no table case, etc.

Manual QA Testing

Build: https://firefly-2091-invalid-table-xml-2.irsakubedev.ipac.caltech.edu/firefly

We can manually validate the case from NED. It reports its error in a PARAM named QUERY_STATUS, but Firefly only looked for an INFO, so it missed the error and later failed with a SQL error. With the code changes, Firefly now reads the PARAM and shows NED's message.

(1) Use a NED url with a made-up object name. The XML can be viewed here. With the changes, we're able to show the NED error (i.e. the fix): test build link

This should show: "Cause: [GeneralFault] Service could not complete request; Failed to resolve input object name (6)".

(2) We can compare what happens if we load this url on irsacloud, to see the existing SQL error failure case (i.e. the bug): irsacloud link. This shows "Uncategorized SQL..."

@aventura121 aventura121 self-assigned this Sep 23, 2026
@aventura121 aventura121 added bug multi-ticket This PR implements multiple Jira tickets labels Sep 23, 2026
@aventura121 aventura121 added this to the 2026.3 milestone Sep 23, 2026
@aventura121
aventura121 force-pushed the FIREFLY-2091-invalid-table-xml branch from 18640f6 to 34d4e4a Compare September 23, 2026 19:56
@aventura121 aventura121 changed the title Firefly 2091 invalid table xml Firefly-2091 Handle VOTable Error Formats Sep 23, 2026
@aventura121
aventura121 marked this pull request as ready for review September 24, 2026 13:09
@aventura121
aventura121 requested a review from loitly September 24, 2026 13:09

@loitly loitly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the changes, and they worked as described. The added unit tests are great. I’ve included several comments for your review and implementation as you see fit.

Comment thread src/firefly/java/edu/caltech/ipac/table/io/VoTableReader.java
Comment thread src/firefly/java/edu/caltech/ipac/table/io/VoTableReader.java
Comment thread src/firefly/java/edu/caltech/ipac/table/io/VoTableReader.java
Comment thread src/firefly/java/edu/caltech/ipac/table/io/VoTableReader.java Outdated
@aventura121
aventura121 force-pushed the FIREFLY-2091-invalid-table-xml branch from aca7dfa to bb088e8 Compare September 24, 2026 17:56
@aventura121
aventura121 merged commit a82a013 into dev Sep 24, 2026
1 check passed
@aventura121
aventura121 deleted the FIREFLY-2091-invalid-table-xml branch September 24, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug multi-ticket This PR implements multiple Jira tickets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants