Bug 148274 - AutoText from LO > 7.3 (or maybe > 7.0..?) incompatible with older versions
Summary: AutoText from LO > 7.3 (or maybe > 7.0..?) incompatible with older versions
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0.alpha1+
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoText
  Show dependency treegraph
 
Reported: 2022-03-30 15:18 UTC by Cor Nouws
Modified: 2022-05-03 09:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
.bau file with two AutoText fragments, created in 7.3.0.0_alpha (492.35 KB, application/zip)
2022-03-30 15:18 UTC, Cor Nouws
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cor Nouws 2022-03-30 15:18:10 UTC
Created attachment 179218 [details]
.bau file with two AutoText fragments, created in 7.3.0.0_alpha

1. I'll attach a bau-file, created in LO 7.3.0.0 alpha something.

2. Adding that .bau to the user configuration of LO 6.4.5.2 or LO 6.2.8.2
makes the AutoText category and the AtoText names visible in the dialog AutoText (Ctrl+F3), but there is no content shown.
   (config/lo/4/user/autotext/) 

3. Adding that .bau to the user configuration of LO 7.0.0.3, gives the expected result.

Conclusion: AutoText from LO > 7.3 is incompatible with older versions.
Comment 1 Cor Nouws 2022-03-30 15:19:37 UTC
NB: it may be that the incompatibility started with AutoText created in 7.0.x.
I did not check that.
Comment 2 Dieter 2022-04-15 11:52:46 UTC
I'm not familiar with AutoText, so I couldn't reproduce it without more detailed steps, but i would like to ask, why somebody should create AutoText in LO 7 and use it in LO 6? So where is the use case for the described problem in real life?
Comment 3 Cor Nouws 2022-04-15 20:13:19 UTC
Hi Dieter,

(In reply to Dieter from comment #2)
> I'm not familiar with AutoText, so I couldn't reproduce it without more
> detailed steps,

- Text document with some content
- select
- Ctrl+F3 or Tools>AutoText (dialog AutoText)
- Chose  category to create a category - it will be stored in your user profile under /user/autotext/
- Choose Autotext > New to create an AutoText, select your category and give a name
- Close LO
- Copy the <myCategory>/bau to the user profile of an older LO version....


> ...  but i would like to ask, why somebody should create AutoText
> in LO 7 and use it in LO 6? So where is the use case for the described
> problem in real life?

Not something you expect indeed. Unless you have a .bau that you share with someone else who turns out to have that older version :)

HTH & thanks for looking at this,
Cor
Comment 4 Dieter 2022-05-03 09:27:59 UTC
Cor, thank you for explanation. I confirm it with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 83d0f2eebae41d431d9a5bfd1a918523977752d0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Auto-Text created in LO 7.4 has no content in LO 6.1