cdap
cdap copied to clipboard
fix(CDAP-19988): get the correct version for application in capability metadata search result
What: Currently the tests CapabilityManagementServiceTest.testProgramStartLCMFlagEnabled and testProgramWithPluginStartLCMFlagEnabled will fail when LCM FF is on. This is because the metadata entity is versionless in indextable. We need to get the correct versionId from MetadataSearchResultRecord.