Skip to content
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

demo-rfc80-poc branch has some issues with legacy functionality #11233

Open
alisman opened this issue Nov 26, 2024 · 2 comments
Open

demo-rfc80-poc branch has some issues with legacy functionality #11233

alisman opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels

Comments

@alisman
Copy link
Contributor

alisman commented Nov 26, 2024

@alisman
Copy link
Contributor Author

alisman commented Dec 1, 2024

The following produces error

java.lang.IllegalStateException: A Cursor is already closed.

curl 'http://localhost:8082/api/molecular-profiles/co-expressions/fetch?molecularProfileIdA=coadread_tcga_pub_rna_seq_mrna&molecularProfileIdB=coadread_tcga_pub_rna_seq_mrna&threshold=0' \
  -H 'Accept: application/json' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Cookie: _ga=GA1.1.1887007066.1710956751; _ga_5260NDGD6Z=GS1.1.1721930557.11.1.1721930574.0.0.0' \
  -H 'Origin: http://localhost:8082' \
  -H 'Pragma: no-cache' \
  -H 'Referer: http://localhost:8082/results/coexpression?cancer_study_list=coadread_tcga_pub&cancer_study_id=coadread_tcga_pub&genetic_profile_ids_PROFILE_MUTATION_EXTENDED=coadread_tcga_pub_mutations&genetic_profile_ids_PROFILE_COPY_NUMBER_ALTERATION=coadread_tcga_pub_gistic&Z_SCORE_THRESHOLD=2.0&case_set_id=coadread_tcga_pub_nonhypermut&gene_list=KRAS%20NRAS%20BRAF&gene_set_choice=user-defined-list' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36' \
  -H 'sec-ch-ua: "Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "macOS"' \
  --data-raw '{"sampleListId":"coadread_tcga_pub_nonhypermut","entrezGeneId":3845}'

@alisman
Copy link
Contributor Author

alisman commented Dec 1, 2024

@haynescd best we can tell, this has to do with interaction between @transactional(readOnly=true) decorator and the new CustomDataSourceConfiguration. Various articles suggest that data source configuration needs to be set up to support transactions.

As the comments in our code suggest, there is some legit reason for using transactions for readonly operation. 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants