-
Couldn't load subscription status.
- Fork 16
IRSA-7299: Update upload id for online help #1867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Help anchor: this is definitely fixed for euclid and spherex, which were the ones that were causing the "trouble" with testers. Irsa viewer and dce also work great. so, i need to add the upload.intro anchor to firefly generic help -- that's definitely on me. it should NOT go to basics. "intege" type: I confirm this is fixed. thank you! |
Ok so I will leave that as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the bad IPAC table export bug as I suggested before merging.
| public String formatHeader(String val) { | ||
| val = val == null ? "" : val; | ||
| return fitValueInto(val, getWidth(), false); | ||
| return fitValueInto(val, Math.max(getWidth(), val.length()), false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix doesn’t fully address the issue. The problem occurs where the headers are modified after shrinkToFitData is called. here
I suggest moving that function call to just before the writing step. You may also need to add a second parameter to the function so you can pass in the updated headers for the calculation.
14c254c to
8edd7ee
Compare
@loitly I addressed the feedback and updated the test builds. Can you have a quick look before I merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IPAC table changes look good. Thanks for the fix.
8edd7ee to
511cb55
Compare

Ticket: https://jira.ipac.caltech.edu/browse/IRSA-7299
IFE PR: https://github.com/IPAC-SW/irsa-ife/pull/445
Updated the upload id from
catalogs.owncatalogstoupload.introThis applies to the upload tab as well, and not just the upload dialogs
catalogs.owncatalogswhen you test the apps below, please let me knowNote: I suppose for Firefly we don't have an
upload.introfor the online help, so maybe I should switch back to the defaultbasics.searchingfor that?Fixes FIREFLY-1826
formatHeaderdet_idcolumn. When saving this table as an IPAC table, we convertshorttointeger, that part works as expected. But when we callfitValueIntoinsideformatHeader, the width for this column is returned as 6 (because of thedet_idstring length), andintegeris truncated intointege, hence the bug.widthis longer than than theval length(as is the usual case), for example, for theracolumn (not in the screenshot), the width is 11 due to the entries in the column, so we still get a nicely formated"ra "as expected in that case.Testing:
/onlinehelp/#id=upload.introdet_idcolumn. And if you try to re-upload this column to firefly, that should work as well.NDITHcolumn to be datatypeshort(instead ofinteger). So if you upload this file to firefly, and try to save the table as an IPAC table, you can test this bug fix that way (and to cross verify, if you upload it on the nightly firefly build: https://fireflydev.ipac.caltech.edu/firefly you'll encounter the bug again)