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

SLR: Rename "database" to "catalog" #615

Closed
koppor opened this issue Sep 3, 2022 · 8 comments · Fixed by JabRef/jabref#9989
Closed

SLR: Rename "database" to "catalog" #615

koppor opened this issue Sep 3, 2022 · 8 comments · Fixed by JabRef/jabref#9989
Labels

Comments

@koppor
Copy link
Member

koppor commented Sep 3, 2022

"database" is a term used often in JabRef (shared database, ...). To name the systems providing data (which are fetched by our fetchers), we opted for "catalog".

In the SLR UI and in the SLR code, database has to be renamed to catalog.

@Siedlerchr
Copy link
Member

Siedlerchr commented Oct 13, 2022

UI and l10n to be adapted in ManageStudyDefintion.fxml

@ThiloteE ThiloteE moved this to Free to take in Good First Issues Oct 14, 2022
@nitesh-chowdhary
Copy link

I would like to work on it

@varad64
Copy link

varad64 commented Feb 21, 2023

Hello @koppor, @Siedlerchr. I'm new to the project. To clarify, inside the slr directory, all fields and their usages, containing database have to be renamed to catalog?

Thanks in advance.

@Siedlerchr
Copy link
Member

@varad64 Yes, but of course only where it makes sense e.g. (bibdatabase and bibdatabasecontex NOT).
and especially in the UI and the localization has to be adjusted as well.

We are talking about this dialog (Tools -> Start new Systematic literature view)
grafik

@varad64
Copy link

varad64 commented Feb 22, 2023

Understood, thanks @Siedlerchr. I'll get started

@varad64
Copy link

varad64 commented Feb 25, 2023

Hello @Siedlerchr, I have renamed "database" to catalog. But when I run gradlew check, I am running into NPE caused by the now getCatalogs() method (renamed from getDatabases()) returning null which leads 7 tests to fail. I can't wrap my head around what might be causing these. Any pointers would be very helpful.

PFA screenshot of the failing tests and stacktrace for reference:
image

Thanks!

@Siedlerchr
Copy link
Member

Try setting up a debugger and find out why the method getActiveLibraryEntries returns null.
And maybe you can also create a Draft PR already, that also makes it easier to spot any potential issues

@ThiloteE ThiloteE moved this from Free to take to In Progress in Good First Issues Jun 6, 2023
@koppor
Copy link
Member Author

koppor commented Jun 8, 2023

This issue is worked on. Please do not take it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
4 participants