sawhney17 / logseq-citation-manager

73 stars 11 forks source link

Template breaking for incomplete citations #13

Open kerim opened 2 years ago

kerim commented 2 years ago

I haven't fully tracked this down, but in some cases where citations are incomplete the template just lists the name, and not the other information that is there, such as title or year. It seems like the lack of certain data causes the rest of the template to fail?

sawhney17 commented 2 years ago

From what I've seen. When a specified data point is missing, the placeholder is replaced by blank text. Maybe I should have null written or something?

kerim commented 2 years ago

I believe that some data can be missing but other data can't be. If just the address is missing, for instance, everything is fine, but if both the date and the journal name are missing (or something like that) then it fails completely. I have not been able to narrow it down though so this is just a guess at what is going on.