View Single Post
Old 01-17-2021, 02:12 PM   #5205
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,027
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Ascello View Post
The issue is for literally any single chapter story on ao3 as far as I see. And they do have category, and it is replaced just fine. Just the title prefix doesn't appear. For multi-chapter fics everything works fine. Here, literally the first fics i found on ao3 just now:
I owe Ascello a bit of an apology; when a new user comes along and says they see a problem with all stories of some sort, the odds of it being user error are much higher than a real bug.

But this one is a really subtle bug having to do with FFF caching metadata values after processing replace_metadata for a particular key once and the fact that the AO3 adapter, by fetching title from the metadata for one-shots (to use as the chapter title) before category values are collected causes FFF to cache an empty value for category the value of title without the category change. Which was propagated forward.

Notably, doing an 'Update from Saved Column' does't have that problem because it isn't fetching title just then.

There are at least three ways I could address this, each with different trade-offs. I'm still pondering which to go with. But there will be a fix coming.

Quote:
Originally Posted by Ascello View Post
BTW, since the code didn't copy to my last post:
[quote] blocks are removed when quoting a past post. Use [code] blocks instead--they also preserve spacing better.

Last edited by JimmXinu; 01-17-2021 at 02:28 PM. Reason: Minor correction.
JimmXinu is offline   Reply With Quote