View Single Post
Old 05-14-2017, 11:42 AM   #187
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,501
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@Terisa: I was able to replicate it.

@chaley: I think Terisa's bug is caused by caching in the template formatter subsystem. Basically, when the server is asked for metadata for a book, the user functions from the currently loaded db in the GUI are used. Since the metadata is coming from a library without the function, the error result is cached. In the future queries from a library with the function return the error result. Since I'm not too familiar with the innards of the template system, I'm not sure what the best approach here is. Thoughts?
kovidgoyal is offline   Reply With Quote