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

[1] https://github.com/BaseXdb/basex/issues/2407


On Tue, Mar 25, 2025 at 4:52 PM Zimmel, Daniel <d.zim...@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
>
>

Reply via email to