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

Metadata properties on shared databases. #2284

Closed
g-mos opened this issue Nov 18, 2016 · 9 comments
Closed

Metadata properties on shared databases. #2284

g-mos opened this issue Nov 18, 2016 · 9 comments
Assignees
Labels
bug Confirmed bugs or reports that are very likely to be bugs shared-database status: help wanted type: documentation

Comments

@g-mos
Copy link

g-mos commented Nov 18, 2016

JabRef version 3.7 on Ubuntu 16.04 with PostgreSQL database

Steps to reproduce:
The metadata of the user are saved in the database as common metadata. Therefore the last users general file directory is saved in the database and when an other user opens the database he loads these metadata, and this general file directory
This also affects #2255
Furthermore is the groups structure somehow handled in SQL databases?

@koppor koppor added type: documentation status: waiting-for-feedback The submitter or other users need to provide more information about the issue labels Nov 20, 2016
@koppor
Copy link
Member

koppor commented Nov 20, 2016

Firstly, #2219 has to be fixed. Otherwise, metadata is lost anyway.

When you use the "User-specific file directory", everything should work as expected: Each user has its own file directory. This assumes that each user has a separate Windows/Linux/Mac login name. This name is used at the user-specific-file-directory-setting. The general file directory, as you also noticed, applies for all users.

In any case, each user can configure his JabRef instance at Options->Preferences->File->"Main file directory". This directory also applies for shared databases.

All in all, I think, this is more a documentation issue (http://help.jabref.org/en/FileLinks is outdated) than a real issue of JabRef. Could you try with the "user-specific dirctory"?

The storage of the group structure has changed since version 3.4 (#1276). It still has some issues (#1495), but works well in other regards.

@g-mos
Copy link
Author

g-mos commented Nov 20, 2016

@koppor, thank you for your reply.
Concerning "User-specific file directory" I will reply to that tomorrow, when I have multiple users in the database environment. We have a common user logging in the database, so the general directory was false. Definitely the documentation needs more clarification!
Concerning the groups I will put my two cents in #1495, since in a shared database things are missing!

@g-mos
Copy link
Author

g-mos commented Nov 21, 2016

I am now using the JabRef 3.8-dev--snapshot--2016-11-21--master--7362d02
version which fixes the #2219 problem. This had a significant impact as @koppor suggested. In the database when you use user-specific file directory these user information are also stored in the db and can be handled properly. Furthermore in this version the groups tree is also saved in the metadata information.
Yet the program seems a little unstable. If you pull changes from the shared db (which by the way I believe is the wrong name for these button, sync with db might be more accurate) the program hangs with no error messages. Sometimes the groups info are not saved when you close jabref (but I cannot steadily reproduce this error).

@koppor
Copy link
Member

koppor commented Nov 21, 2016

@g-mos If understand correctly, your issue is solved, but JabRef is unstable in this regard.

Can we have a chat on skype or slack? Feel free to write me on my email address published on my GitHub profile.

@g-mos
Copy link
Author

g-mos commented Nov 24, 2016

@koppor Yes and yes. I have send you a mail with my skype contacts!

@koppor koppor self-assigned this Dec 9, 2016
@koppor koppor removed the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Dec 9, 2016
@Fab7c4
Copy link

Fab7c4 commented Apr 23, 2017

Are there any news regarding this issue.
I am also using a MySQL dataset in combination with version 3.8.2, but the grouptree information gets lost. For some reason a single group does work but as soon I add a second group I get problems and the whole tree disappears. I also tried directly adding groups by manipulating the entry directly in the database. From my perspective (but I am new to the JabRef code), would it maybe not easier to parse a grouptree using a format which actually supports trees e.g. xml, yaml or so on? At least the current format is not really intuitive.

@koppor
Copy link
Member

koppor commented Apr 23, 2017

The issue is with the syncing code of metadata. We had discussions of the metadata format, but we decided to keep as is to be safe to stay bibtex compatible.

@Fab7c4
Copy link

Fab7c4 commented Apr 24, 2017

Ok I understand the benefit of staying close to the bibtex format. May I ask how close you are in solving this issue? The issue seems to be clearly while syncing from local to the shared database. Because when I add a tree directly to the groupstree cell and pull the changes from the db, it gets displayed correctly.

@koppor
Copy link
Member

koppor commented Apr 24, 2017

We really need help in solving this issue, because @obraliar seems to be very busy and cannot invest time in the near future.

@tobiasdiez tobiasdiez added the bug Confirmed bugs or reports that are very likely to be bugs label Apr 24, 2017
betheunique added a commit to betheunique/jabref that referenced this issue Sep 3, 2017
@koppor koppor closed this as completed in a021301 Sep 5, 2017
koppor added a commit that referenced this issue Sep 5, 2017
Siedlerchr added a commit that referenced this issue Sep 5, 2017
* upstream/master:
  Remove untranslated Strings from the greek menu translation
  Remove untranslated Strings from the greek translation
  Update wiremock from 2.7.1 -> 2.8.0
  Update log4j from 2.8.2 -> 2.9.0
  Added the name of some new authors
  Fix typo
  local db and shared db sync fix #2284 with changelog
  local db and shared db sync fix #2284
  Improvement in Japanese translation (#3193)
Siedlerchr added a commit that referenced this issue Sep 5, 2017
… dragdropfiles

* 'dragdropfiles' of https://github.com/JabRef/jabref:
  remove empty line
  Make content binding bidirectional so changes are also recognized in bibdb
  Remove untranslated Strings from the greek menu translation
  Remove untranslated Strings from the greek translation
  local db and shared db sync fix #2284 with changelog
  local db and shared db sync fix #2284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs shared-database status: help wanted type: documentation
Projects
None yet
Development

No branches or pull requests

6 participants