Bug 68956 - FORMULAEDITOR: Formulas get destroyed after file reload
Summary: FORMULAEDITOR: Formulas get destroyed after file reload
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
4.2.0.0.alpha0+ Master
Hardware: Other All
: high major
Assignee: Thomas Arnhold
URL:
Whiteboard: BSA target:4.2.0
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-09-04 20:08 UTC by Thomas Arnhold
Modified: 2013-09-06 11:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Arnhold 2013-09-04 20:08:17 UTC
Problem description: 

Steps to reproduce:
1. Put in a Formula like +<?>
2. Replace <?> by ABC
3. Save the document
4. Reopen it. The formula is now: {+func "ABC"}

Current behavior:
Formula after reload: {+func "ABC"}

Expected behavior:
Formula after reload: +ABC


Doesn't work:
Version: 4.2.0.0.alpha0+
Build ID: a8865e5df62b5f33aa769d459b9823eb5b110d4b
TinderBox: Win-x86@6-debug, Branch:master, Time: 2013-09-03_14:36:22

Works:
Version: 4.1.1.2
Build ID: 7e4286b58adc75a14f6d83f53a03b6c11fa2903
Operating System: All
Version: 4.2.0.0.alpha0+ Master
Last worked in: 4.1.2.1 rc
Comment 1 Thomas Arnhold 2013-09-04 20:49:53 UTC
Patch is here https://gerrit.libreoffice.org/#/c/5819/
Comment 2 Commit Notification 2013-09-05 12:53:58 UTC
Thomas Arnhold committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=8c1d8ab99ca593189b25e6d8e56ed65c2482b09d

fdo#68956: fix string conversion



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2013-09-06 11:31:37 UTC
Thomas Arnhold committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=e85446e587704ffa31c50ee2b8fc1b21d6a16b12

fdo#68956: Be safe and warn if there are other users of GetText()



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.