data-explorer icon indicating copy to clipboard operation
data-explorer copied to clipboard

tde-lib has unstated prerequisite of schema database

Open masyukun opened this issue 6 years ago • 1 comments

If your content database has "(none)" assigned to the schema database field, then tde-lib.xqy will throw an error when Creating a Query, in function tde-lib:has-tde() on line 20.

The code assumes that the database has a schema database. If this is not the case, then the error is returned: No database with identifier 0

masyukun avatar Feb 12 '19 05:02 masyukun

Agree. Also ran into this. If the requirement remains a better error message is absolutely needed.

markplotnick avatar Jun 11 '19 18:06 markplotnick