GreenDelta / olca-app

Source code of openLCA
openlca.org
Mozilla Public License 2.0
184 stars 41 forks source link

importing via json for impact categories does not link sources #387

Open bl-young opened 2 months ago

bl-young commented 2 months ago

(I probably should have posted here instead of in https://github.com/GreenDelta/olca-modules/issues/58)

I am trying to import a JSON-LD that contains impact categories with sources, e.g.,: image

Note that it includes a Ref to a source, which itself exists in the JSON: image.

openLCA (v2.1.1) seems to fail to make that link upon importing and still shows no source: image

I have even tried setting the source, exporting as JSON-LD and re-importing that file to a new database and the source does not get attached to the impact category.

msrocka commented 2 months ago

Thanks Ben, this should be fixed in the next release.

bl-young commented 2 months ago

great thanks!