plan serialization error with registerURIMapper
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The following program:
{
XQuery_t lQuery = aZorba-
}
{
XQuery_t lQuery = aZorba-
std::cout << lQuery << std::endl;
}
Returns:
Zorba serialization error [zerr:ZCSE0013]: failed to load pre-compiled query: document, collection, or module resolver required but no SerializationCa
By commenting " lSctx->
Changed in zorba: | |
importance: | Undecided → Critical |
milestone: | none → 2.2 |
Changed in zorba: | |
importance: | Critical → Undecided |
milestone: | 2.2 → none |
This is not a bug. It's misusing the API. If the URI mappers are used with the plan serializer, a SerializationCa llback has to be registered which allows the plan serializer to retrieve the exact same mappers that were registered before.