I'm searching for and then iterating through a large number of documents in order to rename them. One of the things I need to do is stick a formatted date on the end of the file name.
To speed things up, I'm pulling back fields as part of the search.
I noticed that for documents with no date, rather than remaining blank at the end--as has long been the case--I'm getting a 0. Even after a conditional sequence that checks if the date is empty, empty dates come through as a zero.
So, I modified the condition to also not equal 0. It still ran the contained logic when the date was missing (showing as zero), but then threw an error when there was an actual date value for trying to evaluate a date as an integer.
Seems like a bug of some sort.