Skip to content

Multi genbank/fasta files import#7825

Open
XingY wants to merge 17 commits into
developfrom
fb_genBank
Open

Multi genbank/fasta files import#7825
XingY wants to merge 17 commits into
developfrom
fb_genBank

Conversation

@XingY

@XingY XingY commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Rationale

This PR generalizes AbstractQueryImportAction to accept a list of uploaded files and exposes overridable hooks so a subclass can implement custom multi-file import and background-job behavior, without changing the single-file semantics for existing callers.

Related Pull Requests

Changes

  • Modified AbstractQueryImportAction._execute to stage a List instead of a single file
  • Extracted overridable hooks — prepareDataFileLoader, handleImportData, getImportPipelineJob, and getBackgroundImportContext — so subclasses can customize loader creation, import execution, and background job construction.
  • Added .fa to FastaDataLoader.FILE_TYPE.

XingY and others added 12 commits June 30, 2026 14:13
…7796)

## Rationale

Newer browsers (Chrome, Firefox 140+) ship a native `RegExp.escape` that
throws a `TypeError` on non-String input.
`Ext.ux.form.LovCombo.setValue()` passed `JSON.stringify(value)` to
`RegExp.escape` to avoid that crash, but `JSON.stringify()` quotes
string values, so they no longer matched the raw, unquoted output of
`getCheckedValue()` and every selection in a string-valued combo (e.g.
the WNPRC EHR Time of Day multi-select) was silently dropped. Using
`String()` yields a valid String for `RegExp.escape` without quoting
string values, fixing both the numeric-`valueField` crash and the
string-`valueField` regression. See
LabKey/internal-issues#1266.

## Related Pull Requests

- LabKey/wnprc-modules#982
- LabKey/premiumModules#638

## Changes

- `core/webapp/Ext.ux.form.LovCombo.js`: in `setValue()`, pass
`String(...)` rather than `JSON.stringify(...)` to `RegExp.escape`.
TransactionAuditProvider.TransactionAuditEvent auditEvent, String queryName) throws BatchValidationException, IOException
{
BatchValidationException ve = new BatchValidationException();
//di = wrap(di, ve);

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.

These copied comments can go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants