ExpirationDate is NULL for Custom Content Module.
I created a custom module using the module builder. I am trying to search for all of the published items for its type. The problem is that the ExpirationDate is always null. Here is the code I use to retrieve the items:
As mentioned in the other forum thread on a similar topic, the ExpirationDate property will be set to a certain value when the item is scheduled for Unpublish. However you can handle this in the filter as well. Please find below the default implementation for the Published() fluent filter: