I'm facing a strange issue when adding a new content with related media field, it didn't save related media content. its working fine earlier , when i add new content for my custom module, select content (images) for related media field, its saved and published correctly. But after few month a strange behavior came into notice that when adding new content to my custom module and add images for related media fields, it didn't save the images, then open content in edit mode and again add the images and publish, now it will save the images.
did someone has any idea about it.
for testing purpose, i've create a new custom module with a single filed of type related media, add content and publish, its working fine and save images on publish.