-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Making paths of linked files relative breaks urls #5861
Comments
Olay, so the cleaning changed the type to URL. But the links still work. |
In my opinion, cleaning up entries should not mess with web urls. In the end, the value changes from Furthermore, malformed urls as the one shown below result in different other problems in JabRef: Given a reference which e.g. contains, among others, the following line:
I performed a cleanup on this reference. This results in:
When I then select this reference, where the urls are malformed now, and I switch to the tab "General" in the entry editor then sometimes several or at least one exception occurs, stating: Uncaught excetion occured in Thread[JavaFX Application Thread,5,main] protocol = https host = null Full stacktrace:
Additionally, the tab "General" breaks, as it does not get rendered completely anymore. Furthermore, when I subsequently switch to another reference and switch back to the previously cleaned up reference, then no content of the tab "General" can be rendered anymore. Sometimes the whole entry editor breaks, so that no tabs and no content can be shown. Every now and then it also happens that the entry editor's "General" tab cannot be rendered anymore for other references in this library, which have not been cleaned up. Sometimes the library's search functionality breaks as well for this library due to the malformed urls. Occationally, the whole library must be closed so that JabRef recovers. Actually, I started digging into this issue with the malformed urls due to the fact, that a lot exceptions and problems occured. |
Description: - Cleanup entries: "Make paths of linked files relative (if possible)" broke web URLs and resulted in various other issues subsequently. This PR fixes this issue. It has been tested for local files and web urls.
…ched anymore) (#5879) * Fixes #5861 Description: - Cleanup entries: "Make paths of linked files relative (if possible)" broke web URLs and resulted in various other issues subsequently. This PR fixes this issue. It has been tested for local files and web urls. * changelog updated * refactoring: use existing method isOnlineLink() for checking whether a file link is an online link; improving isOnlineLink()
Thanks to you 😄 this should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. |
Build checked, it works. :) |
…ched anymore) (#5879) * Fixes #5861 Description: - Cleanup entries: "Make paths of linked files relative (if possible)" broke web URLs and resulted in various other issues subsequently. This PR fixes this issue. It has been tested for local files and web urls. * changelog updated * refactoring: use existing method isOnlineLink() for checking whether a file link is an online link; improving isOnlineLink()
* Fixes making paths of linked files relative (web urls will not be touched anymore) (#5879) * Fixes #5861 Description: - Cleanup entries: "Make paths of linked files relative (if possible)" broke web URLs and resulted in various other issues subsequently. This PR fixes this issue. It has been tested for local files and web urls. * changelog updated * refactoring: use existing method isOnlineLink() for checking whether a file link is an online link; improving isOnlineLink() * Replace link to Workspace set-up with new one (#5896) As the current link just pointed to a page with another link, I'd propose to directly put that second link. * update to 13.0.2 Co-authored-by: systemoperator <3658393+systemoperator@users.noreply.github.com> Co-authored-by: Thomas F. Duellmann <duelle@users.noreply.github.com>
eb97405 Create frattura-ed-integrita-strutturale-fracture-and-structural-inte… (#5877) b33ebfc make journal names title case (#5900) 1c7ecf2 Update uclouvain-centre-charles-de-visscher-pour-le-droit-internation… (#5901) 1a2ea12 Create trinity-college-dublin-zoology-botany-environmental-sciences-h… (#5893) 6bd742c Update harvard-anglia-ruskin-university.csl (#5840) bc8f258 Update chicago-author-date.csl (#5836) 80aded6 Fix missing prefix for URL field (#5894) b850a0d Update american-society-of-civil-engineers.csl (#5891) 94c1cb3 Update deutsche-gesellschaft-fur-psychologie.csl (#5861) f66f384 Update universite-cheikh-anta-diop-faculte-de-medecine-de-pharmacie-et-dodontologie.csl (#5863) 82cf786 Update and rename acta-psychiatrica-scandinavica.csl to dependent/acta-psychiatrica-scandinavica.csl (#5879) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: eb97405
I am using the latest JabRef 5 master build:
JabRef-5.0-portable_linux.tar.gz
JabRef 5.0-beta.360--2020-01-21--7ddfd9f
Linux 4.4.0-171-generic amd64
Java 13.0.2
on Ubuntu 16.04
biblatexmode enabled
Steps to reproduce the behavior:
So both urls are broken now and cannot be used any more.
The text was updated successfully, but these errors were encountered: