LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
134 stars 50 forks source link

Duplicating activity does not properly update databases table #1109

Open marc-vdm opened 8 months ago

marc-vdm commented 8 months ago

Updating AB

What happened?

When an activity is duplicated through the right click menu (image below), some data is not updated in the database table, e.g. the ISIC classification. This DOES happen when an activity is duplicated to another database though. Note that when AB is restarted or project is closed and re-opened, the data is present, it is just not shown in the database table.

We should review the code (prob. in the activity controller) and have it copy over all metadata image

Probably a signal is missing or the metadatastore is not updated properly

Relevant errors

No response

Operating system

Windows 10

Conda environment

No response