Skip to content

Firefly-2186: create test for metaConvert/vo related code - #2072

Draft
robyww wants to merge 1 commit into
devfrom
FIREFLY-2186-vo-test
Draft

robyww wants to merge 1 commit into
devfrom
FIREFLY-2186-vo-test

Conversation

@robyww

@robyww robyww commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Firefly-2186: create test for metaConvert/vo related code, fix any bugs found

  • Many test
  • Fixed getSizeAsString giving too large of value in certain cases
  • Improved test for images only for better grid support
  • TableAnalysis.obsCoreTableHasOnlyImages deal with filters better to recognize table the are filtered to image only
  • Fixed but AnalysisUtils.makeDownloadType throws on an undefined extension
Fixes for many small, corner case bugs found by claude
  • uploadAndAnalyze now returns the "no access" message instead of continuing.
  • makeFilePlotRequest(source, 'Data Product') had been passing 'Data Product' as the init zoom level.
  • The histogram used yAxisColName || yAxisColName; it now uses the x-axis column first.
  • tbl_id|'no-table' was a bitwise OR; it's now ||.
  • getExpectStaticFile had no return.
  • parsingAlgorithm:USE_ALL was passed as a bare USE_ALL argument, so the parameter was never set.
  • getObsCoreRelatedDataProduct dropped the "relatedCols not configured" message without returning it.
  • findWorldPtInServiceDef crashed when only one of RA or Dec was present.
  • handleProductResult sent two messages when there was no status.
  • The datalink fallback title had a broken path; it now uses makeTitlesWithBaseTitle.
  • The abort chaining on layout changes fixes products from a row you'd already left showing up anyway.
  • Error analyses are no longer cached, and the old cache check that never worked (dataTypes!==ErrorResponse) is gone.
  • isNil replaced truthiness checks, so 0 now counts as a real parameter value.

Reviewing

  • most of the new files are test file
  • code has small bug fixes

Testing

@robyww robyww self-assigned this Nov 25, 2026
@robyww
robyww marked this pull request as draft November 25, 2026 19:05
@robyww robyww changed the title Firefly-2126: create test for metaConvert/vo related code Firefly-2186: create test for metaConvert/vo related code Nov 25, 2026
@robyww
robyww force-pushed the FIREFLY-2186-vo-test branch from 002c1e3 to f510ad7 Compare November 25, 2026 19:12
- Many test
- Fixed getSizeAsString giving too large of value in certain cases
- Improved test for images only for better grid support
- TableAnalysis.obsCoreTableHasOnlyImages deal with filters better to recognize table the are filtered to image only
- Fixed but AnalysisUtils.makeDownloadType throws on an undefined extension

- Fixes for many small, corner case bugs found by claude
  - uploadAndAnalyze now returns the "no access" message instead of continuing.
  - makeFilePlotRequest(source, 'Data Product') had been passing 'Data Product' as the init zoom level.
  - The histogram used yAxisColName || yAxisColName; it now uses the x-axis column first.
  - tbl_id|'no-table' was a bitwise OR; it's now ||.
  - getExpectStaticFile had no return.
  - parsingAlgorithm:USE_ALL was passed as a bare USE_ALL argument, so the parameter was never set.
  - getObsCoreRelatedDataProduct dropped the "relatedCols not configured" message without returning it.
  - findWorldPtInServiceDef crashed when only one of RA or Dec was present.
  - handleProductResult sent two messages when there was no status.
  - The datalink fallback title had a broken path; it now uses makeTitlesWithBaseTitle.
  - The abort chaining on layout changes fixes products from a row you'd already left showing up anyway.
  - Error analyses are no longer cached, and the old cache check that never worked (dataTypes!==ErrorResponse) is gone.
  - isNil replaced truthiness checks, so 0 now counts as a real parameter value.
@robyww
robyww force-pushed the FIREFLY-2186-vo-test branch from f510ad7 to 3d86d91 Compare December 1, 2026 17:54
@robyww robyww added bug testing Any changes or updates to a test labels Dec 1, 2026
@robyww robyww added this to the 2027.1 milestone Dec 1, 2026
@robyww
robyww requested a review from kpuriIpac December 1, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug testing Any changes or updates to a test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant