[BAASBOX v.1.0.0 M2] - error trying to delete a document from console

35 views
Skip to first unread message

isaac

unread,
Oct 12, 2016, 5:48:27 AM10/12/16
to BaasBox
Hi,

I logged in the console and tried to delete a document.
I see the document in the document list.
It prompts me with : Are you sure you want to delete the '9108de0a-3ac9-4d41-ab86-2707f4a73e68' document of the collection 'POS' ?

I click yes
and I get the error: "DocumentNotFoundException"

Is there any workaround? This document (maybe it is corrupted, I don't know)
is causing crashes to my app when I try to load it...

Thanks in advance!
1s44c

giastfader

unread,
Oct 12, 2016, 6:20:55 AM10/12/16
to BaasBox
Hi,
maybe the document is corrupted.
I think that it could happen if you embed a JSON object - containing a RID field - as a field of a document.
If this is the case, it is a DB bug.

isaac

unread,
Oct 13, 2016, 10:41:53 AM10/13/16
to BaasBox
Thanks,

By the way, how can I erase the document?
Is the orientdb console already installed or I have to install something? 

thanks in advance
1s44c



giastfader

unread,
Oct 13, 2016, 12:36:58 PM10/13/16
to BaasBox
You must upgrade to 1.0.0-M3 and configure BaasBox  to start an OrientDB listener.
I wrote a post here https://groups.google.com/d/msg/baasbox/bVVHMztM-UA/48kvoZYuBQAJ to show how to use the ODB console to interact with the BaasBox internal database.

I'm trying to reproduce the problem locally in order to find a solution to erase the single bugged document.


isaac

unread,
Oct 14, 2016, 5:50:34 AM10/14/16
to BaasBox
Thanks,

only for your information:
1. I upgraded to 1.0.0-M3 and used a backup.
The problem with the (maybe?) corrupted document disappeared.
2. the website has still some broken links, i.e.: 

thanks again
bye
1s44c



giastfader

unread,
Oct 14, 2016, 6:20:37 AM10/14/16
to BaasBox
Great!
And thanks to you for the broken links
:)


Reply all
Reply to author
Forward
0 new messages