Got it. It appears that somehow Chrome logged me in as a different admin user. 
Comparing sec:get-user-names() of the 
qconsole:workspace/qconsole:security/qconsole:userid of the workspace I 
identified as mine to xdmp:get-current-userid() revealed the problem. I don’t 
remember long ago copying workspaces from one user to the other, but I must 
have. Thanks!

-Will


On Jun 5, 2014, at 8:26 PM, Danny Sokolsky <[email protected]> wrote:

> Will, I think you said you are using 7.0-1.  There were several bugs fixed in 
> 7.0-2, so an upgrade might be a good idea.
> 
> -Danny
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Michael Blakeley
> Sent: Thursday, June 05, 2014 6:23 PM
> To: MarkLogic Developer Discussion
> Subject: Re: [MarkLogic Dev General] QConsole lost data
> 
> I don't know much about the qconsole code. Earlier versions used the same 
> backend as cq, but all that seems to have changed. Maybe support could help?
> 
> Looking at qconsole-model.xqy and qconsole-amped.xqy I think the workspaces 
> should be this:
> 
>    collection()/qconsole:workspace[qconsole:security/qconsole:userid = 
> $userid]
> 
> ...where $userid is xdmp:get-current-userid(). Any changes to your security 
> database recently? Have you compared userid values between the new and old 
> workspaces?
> 
> Also, I see is that qconsole supports import and export. Maybe you could 
> trick it into taking one of your backup files as an import? The exports seem 
> to have no namespace, but I didn't look into other differences.
> 
> -- Mike
> 
> On 5 Jun 2014, at 15:04 , Will Thompson <[email protected]> wrote:
> 
>> All of the current workspaces are there, along with this old workspace 
>> (there are two named "Workspace") that is the only one getting loaded. It at 
>> least looks like most if not all of the current histories are there. I'm not 
>> sure what I should try next...delete the unwanted duplicate workspace? I 
>> dumped the XML to my filesystem, just in case anything goes awry.
>> 
>> -W
>> 
>> ________________________________________
>> From: [email protected] 
>> <[email protected]> on behalf of Will Thompson 
>> <[email protected]>
>> Sent: Thursday, June 5, 2014 3:57 PM
>> To: MarkLogic Developer Discussion
>> Subject: Re: [MarkLogic Dev General] QConsole lost data
>> 
>> I use several workspaces, but everything seems to have reverted to before I 
>> did. I.e.: there are several tabs in "Workspace" that I had reorganized into 
>> other workspaces like "Utils", etc.  (months, if not over a year ago), and I 
>> had accumulated several other ones by importing them (those are backed up, 
>> but unfortunately they're not very important).
>> 
>> I'll see if I can find anything in those directories. Thanks.
>> 
>> -Will
>> 
>> ________________________________________
>> From: [email protected] 
>> <[email protected]> on behalf of Michael Blakeley 
>> <[email protected]>
>> Sent: Thursday, June 5, 2014 3:34 PM
>> To: MarkLogic Developer Discussion
>> Subject: Re: [MarkLogic Dev General] QConsole lost data
>> 
>> Everything seems to be stored in these locations:
>> 
>>   xdmp:directory('/workspaces/', 'infinity')
>> 
>>   xdmp:directory('/histories/', 'infinity')
>> 
>> Is it possible that it just switched you to a different workspace?
>> 
>> -- Mike
>> 
>> On 5 Jun 2014, at 12:36 , Will Thompson <[email protected]> wrote:
>> 
>>> I just noticed that on my dev QConsole (on ML 7.0-1 OSX) workspaces and 
>>> tabs appear to have somehow reverted to a state from many months ago. 
>>> Nothing significant has occurred directly relating to ML. The only thing 
>>> out of the ordinary is that Chrome recently crashed, after which I 
>>> restarted it and restored all my tabs. Before that, QConsole was fine.
>>> 
>>> Any idea what might of happened (and how to prevent it)? And more 
>>> importantly, is there any way to get that data back? I created a merge 
>>> blackout on App-Services, just in case that might help facilitate recovery 
>>> with point-in-time.
>>> 
>>> -Will
>>> _______________________________________________
>>> General mailing list
>>> [email protected]
>>> http://developer.marklogic.com/mailman/listinfo/general
>>> 
>> 
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://developer.marklogic.com/mailman/listinfo/general
>> 
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to