This one was fast! I can confirm this working as expected again, both via GUI and a server restart. Thanks!

 

Von: Christian Grün <christian.gruen@gmail.com>
Gesendet: Mittwoch, 26. März 2025 08:59
An: Zimmel, Daniel <D.Zimmel@ESVmedien.de>
Cc: basex-talk@mailman.uni-konstanz.de
Betreff: Re: [basex-talk] 11.8: Store always clearing on restart

 

…a new snapshot is available [1]. Hope this helps.

 

[1] https://files.basex.org/releases/latest/

 

 

On Tue, Mar 25, 2025 at 7:05PM Christian Grün <christian.gruen@gmail.com> wrote:

Strange things happen. This is unexpected indeed, we’ll look at it soon [1]. Thanks for letting us know.

 

 

 

On Tue, Mar 25, 2025 at 4:52PM Zimmel, Daniel <D.Zimmel@esvmedien.de> wrote:

Hi,

is this a bug? The store is always clearing on restart.
In contrast, the documentation says: "The store will still be available if BaseX is restarted until it is cleared." https://docs.basex.org/main/Store_Functions

It works as documented in 11.6, but not in 11.7 and 11.8.

Steps to reproduce via GUI:

11.6:
Start GUI
XQuery: store:put('TEST','TEST')
Close GUI
Start GUI
XQuery: store:get('TEST')
Result: 'TEST'

11.7/8:
Start GUI
XQuery: store:put('TEST','TEST')
Close GUI
Start GUI
XQuery: store:get('TEST')
Result is empty

The changelog for 11.7 says (not related?): [MOD] Store functions: only read if contents have changed (https://basex.org/2025/01/31/basex-11.7/)

Cheers, Daniel