Ticket #205 (closed defect: invalid)
With Quartz, get_metadata() doesn't throw an UnimplementedError
| Reported by: | fabrice.colin | Owned by: | newbugs |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Backend-Quartz | Version: | 1.0.3 |
| Severity: | minor | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | Linux | Blocking: |
Description
When I try to set metadata on an old Quartz index, Database::set_metadata() throws an UnimplementedError? ("This backend doesn't implement metadata"). Confusingly, Database::get_metadata() doesn't throw anything and quietly returns an empty string when invoked. I think it would be preferable if Database::get_metadata() threw the same exception as Database::set_metadata(). This may or may not apply to the Remote back-end too, I haven't checked.
Fabrice
Change History
Note: See
TracTickets for help on using
tickets.
