marcardar / transcriptstudio-isha

Automatically exported from code.google.com/p/transcriptstudio4isha
0 stars 0 forks source link

Cannot create new event #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Import a transcript in the usual way
2.Create a new event
3.

What is the expected output? What do you see instead?
Instead of proceeding to the next step I get the following error message:
Could not save event
REST service failed because: 

What version of the product are you using? On what operating system?
0.9.3b1, Linux

Please provide any additional information below.

Original issue reported on code.google.com by swami.ke...@gmail.com on 30 Mar 2009 at 6:23

GoogleCodeExporter commented 9 years ago
Prior to this - I removed the ts4isha collection from the database - so there 
are no
sub-collections inside the data collection...

Original comment by swami.ke...@gmail.com on 30 Mar 2009 at 6:26

GoogleCodeExporter commented 9 years ago
The error message should be like this:

REST service failed because: Could not locate collection: /db/ts4isha/data/b 
[at line
19, column 17]
In call to function:
    utils:store(xs:string, element()) [108:30]

Original comment by mjc1...@gmail.com on 30 Mar 2009 at 6:31

GoogleCodeExporter commented 9 years ago
The error message appears properly in the StandAlone player but not in the 
Plugin.

In r252, I've included a message (saying that maybe the event-type collection 
does
not exist) when the rest error message is blank.

To avoid the exception altogether, you should run the configure-database.xql.

You can do this by browsing to the xquery collection using the HTML admin 
client. Be
sure to first log in as admin/dba.

I also had to fix the configure-database.xql - r251

Original comment by mjc1...@gmail.com on 30 Mar 2009 at 8:19