Opened 15 years ago

Closed 12 years ago

Last modified 12 years ago

#44 closed defect (released)

report errors on add/replace_document, not later

Reported by: Olly Betts Owned by: Olly Betts
Priority: normal Milestone:
Component: Library API Version: SVN trunk
Severity: normal Keywords:
Cc: Richard Boulton Blocked By:
Blocking: Operating System: All

Description

Currently errors are sometimes not thrown on add_document/replace_document but later when an implicit or explicit flush occurs. This makes it hard to write user code to deal with such problems. Try to arrange that errors are reported sooner.

Change History (10)

comment:1 by Olly Betts, 15 years ago

Severity: blockernormal
Status: newassigned

comment:2 by Olly Betts, 13 years ago

Component: otherLibrary API
op_sys: otherAll
Priority: highnormal
rep_platform: OtherAll
Version: otherSVN HEAD

comment:3 by Richard Boulton, 13 years ago

Blocking: 118 added

comment:4 by Olly Betts, 13 years ago

We could probably feasibly fix this for the case of termname length restrictions for terms which don't contain zero bytes for 1.0, but it doesn't change the API or ABI or database format at all so I think it's a good candidate for postponing as it could be added in 1.0.X without anyone having to relink code or rebuild databases. Thoughts?

comment:5 by Richard Boulton, 13 years ago

Cc: richard@… added

+1 for postpone.

Perhaps we should have a "shortly after 1.0" tracker bug too?

comment:6 by Olly Betts, 13 years ago

That sounds like a good idea.

comment:7 by Richard Boulton, 13 years ago

Blocking: 120 added; 118 removed

Let's postpone, then.

Changed to block #120 (bugs for fixing during the 1.0 release series) instead of #118.

comment:8 by Olly Betts, 12 years ago

Resolution: fixed
Status: assignedclosed

Fixed in SVN.

comment:9 by Olly Betts, 12 years ago

Operating System: All
Resolution: fixedreleased

Fixed in 1.0.3

comment:10 by Richard Boulton, 12 years ago

Blocking: 120 removed

(In #120) Remove the unfixed dependencies so we can close this bug - they're all marked for the 1.1.0 milestone.

Note: See TracTickets for help on using tickets.