Fixed more changes on CORE-2106 for getting ContentItemId and ParentItem...

...Id
@yamunaBQ  Can you change the LOGGER.debug to LOGGER.error ?