diff --git a/src/org/gcube/vremanagement/vremodeler/impl/util/ReportFiller.java b/src/org/gcube/vremanagement/vremodeler/impl/util/ReportFiller.java index bdacaf6..04679b4 100644 --- a/src/org/gcube/vremanagement/vremodeler/impl/util/ReportFiller.java +++ b/src/org/gcube/vremanagement/vremodeler/impl/util/ReportFiller.java @@ -79,7 +79,7 @@ public class ReportFiller { ResultSet resMdColNative =DBInterface.queryDB("select n.mdcollid from VRERELATEDMETADATAFORMAT AS s, NATIVEMDF as n where s.vreid='"+vreResourceId+"' and n.mdfid=s.mfid;"); while (resMdColNative.next()) - report.getResources().add(new Resource(resRelatedCol.getString(1), GCUBEMCollection.TYPE)); + report.getResources().add(new Resource(resMdColNative.getString(1), GCUBEMCollection.TYPE)); } /**