open-ils.circ.title_note.retrieve.all errors if you try to limit to public notes

Bug #2054216 reported by Jane Sandberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Low
Unassigned

Bug Description

Steps to recreate:

1. Add a record note to biblio record 2.
2. In srfsh, run `login admin demo123` to get an authtoken.
3. In srfsh, run `request open-ils.circ open-ils.circ.title_note.retrieve.all {"itemid": 2, "authtoken": "<your authtoken here>", "pub": 0}`
4. Notice that your note comes up!
5. Try it again with a truthy pub value: `request open-ils.circ open-ils.circ.title_note.retrieve.all {"itemid": 2, "authtoken": "<your authtoken here>", "pub": 1}`
6. Notice that you get an error: "ERROR: Call to open-ils.cstore for method open-ils.cstore.direct.bilbio.record_note.search.atomic"

There are two reasons for the error:
* A small typo: bilbio should be biblio here.
* There is no pub field on the bren class, nor a pub column in the biblio.record_note.

Tags: cataloging
Revision history for this message
Galen Charlton (gmc) wrote :

Also, biblio.record_note has a 'deleted' column.

Changed in evergreen:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Galen Charlton (gmc) wrote :

Though regarding the 'deleted' column, see bug 2055187

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.