Sorry, I couldn’t put an update yesterday, I accidentally ran an rm -rf command in the root dir and ran into some issues, had to reinstall MySQL, java, and maven.
So today figured out how to use the metadata sharing module properly to export reports and other metadata like cohort queries. They were not listed as
Cohorts but as
serializable objects in the export menu. Anyhow, I got it to work, even the import function works fine. Seems like there is a mechanism to create new or merge the metadata if it’s already exiting in the instance.
The error I posted two days back was an
array index out of bound error which I suspect was the result of me trying to import an empty array of metadata.
Tomorrow I’ll be trying to find out how it would work if there is a matched metadata set in the system when importing.
Thanks for the tip on rebuilding and deploying modules, sure it came in handy.