Jaovitosr/Chatbot

Unable to search doi directly in web search

開放

#13 建立於 2023年9月14日

 (1 則留言) (0 個反應) (0 位負責人) (0 個分叉)auto 404
fetchergood first issue

倉庫指標

星標
 (0 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

From jabref created by Turgon-Aran-Gondolin: JabRef/jabref#9674

JabRef version

5.9 (latest release)

Operating system

Windows

Details on version and operating system

Windows 10 22H2

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Turn on web search panel, select INSPIRE for example
  2. search a doi, i.e. 10.1007/JHEP02(2023)082 without using quotes
  3. the search failed with an unhandled exception.
  4. The exception goes away if surround the doi with quotes

Appendix

I think the problem is that the search box is unable to handle the slash "/". Either escaping "/" or adding quotes would solve it. But a more general solution is preferred. ...

org.jabref.logic.importer.FetcherException: An error occurred when parsing the query
	at org.jabref@5.10.236/org.jabref.logic.importer.SearchBasedFetcher.performSearch(Unknown Source)
	at org.jabref@5.10.236/org.jabref.gui.importer.fetcher.WebSearchPaneViewModel.lambda$search$3(Unknown Source)
	at org.jabref@5.10.236/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)
	at org.jabref@5.10.236/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)
	at org.jabref.merged.module@5.10.236/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

貢獻者指南