Bug 403099

Summary: Data loss and syntactic corruption when entering titles without curly braces
Product: [Applications] KBibTeX Reporter: hjuly
Component: GeneralAssignee: Thomas Fischer <fischer>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 0.8   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hjuly 2019-01-11 12:30:41 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add a new journal article with a multi-word title, e.g.:
   
       This is an Article

Do not use curly braces.

2. Add a volume number under 'Publication'.

3. Add other details as needed/desired.

4. Save.

OBSERVED RESULT

a. KBibTeX has attempted to insert curly braces, but they didn't play nice with the quote characters. The result is:
   
   "{This is an Article"}

b. The volume number has been deleted.


EXPECTED RESULT

a. No data loss. The volume number should not be lost.
b. No corruption. The title should be "{This is an Article}"


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.47.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
KBibTeX 0.8~20170819git31a77b27e8e83836e-3build2
Comment 1 Thomas Fischer 2019-01-11 14:59:46 UTC
This sounds like a duplicate of bug 388892.
As your KBibTeX version is about 1.5 years old, please test the latest KBibTeX 0.8.x version to see if the bug has been fixed.

In case there are no packages for your distribution, you can try the run-kbibtex.sh script which you can find here:
https://cgit.kde.org/scratch/thomasfischer/kbibtex-related.git/tree/run

Execute the script as follows:
bash run-kbibtex.sh https://anongit.kde.org/clones/kbibtex/thomasfischer/kbibtex.git kbibtex/0.8
Comment 2 Thomas Fischer 2019-02-23 20:03:05 UTC
Have you had the opportunity to test the latest KBibTeX version?

(In reply to Thomas Fischer from comment #1)
> This sounds like a duplicate of bug 388892.
> As your KBibTeX version is about 1.5 years old, please test the latest
> KBibTeX 0.8.x version to see if the bug has been fixed.
> 
> In case there are no packages for your distribution, you can try the
> run-kbibtex.sh script which you can find here:
> https://cgit.kde.org/scratch/thomasfischer/kbibtex-related.git/tree/run
> 
> Execute the script as follows:
> bash run-kbibtex.sh
> https://anongit.kde.org/clones/kbibtex/thomasfischer/kbibtex.git kbibtex/0.8
Comment 3 Bug Janitor Service 2019-03-10 04:33:07 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2019-03-25 04:33:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!