Looks good. Thanks.
/Andy

On Wed, 13 Feb 2019 at 16:14, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Andy,

I completely agree, the inclusion of the dummy file name doesn’t make
any sense here. Job handling has been revised in Version 9, but I
think I have found a solution for the job listing that should work
similar to the original one.

A new snapshot is online [1], your feedback is welcome.
Christian

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



On Tue, Feb 12, 2019 at 7:05 PM Andy Bunce <bunce.andy@gmail.com> wrote:
>
> Hi,
>
> Before BaseX 9 jobs:list-details would return the query string used in the jobs:eval (or the uri if that was used) - as per the current docs [1]
> Versions 9+ returns a "dummy" file name in this case.
>
>   jobs:eval("2+4",(),map{"cache":true()})
>
>   jobs:list-details("job2")
> <job id="job2" type="QueryJob" state="cached" user="admin" duration="PT0.001S" reads="(none)" writes="(none)" time="2019-02-12T17:53:41.772Z">file:///C:/Users/andy/git/vue-poc/src/vue-poc/features/tasks/model.build/file</job>
>
> I found the old behavior useful, (although it missed recording the static-base-uri).
>
> /Andy
>
> [1] http://docs.basex.org/wiki/Jobs_Module#jobs:list-details
>
>