OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

After a table has been published, the peer review still refers to the unpublished table #1530

Closed jh-RLI closed 4 months ago

jh-RLI commented 5 months ago

Description of the issue

We have recently introduced the function to publish a table via the profile page. Publishing basically means that a table must have been reviewed in model_draft and can then be moved to a target topic. Once it has been moved, the peer review data of the updated topic to which the table has been moved will not be updated in the open peer review model.

Steps to Reproduce

  1. Create table
  2. Review table
  3. Publish table via profile page
  4. Attempt to open the peer review again

Ideas of solution

Solution 1: update the topic in the peer review table. Solution 2: Store the table object in the peer review. In this case the topich (aka schema) will update once it was moved.

Workflow checklist