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

Scenario bundles: Output datasets render weirdly #1473

Open han-f opened 7 months ago

han-f commented 7 months ago

Description of the issue

I added an output dataset for the WAM scenario for this factsheet: https://openenergy-platform.org/scenario-bundles/id/95a65aca-6915-b64a-cac7-3831c12885b4

grafik

It reads wrongly and shows more than only the title of the dataset, i.e. it should only be rendered as: Rahmendaten für den Projektionsbericht 2023 (Datentabelle) - as it does for the WEM scenario (this was already existing before the new release).

Steps to Reproduce

  1. Add a dataset to a scenario

Ideas of solution

Describe possible ideas for solution and evaluate advantages and disadvantages.

Context and Environment

Workflow checklist

adelmemariani commented 7 months ago

Yes, you are right. sorry, the script was reading the tags together with the name of the dataset. I fixed it. The issue will be solved in the next Hotfix release. Thank you, I appreciate your attention.

adelmemariani commented 7 months ago

@han-f Done! Please check if everything works. The full name of this dataset is Rahmendaten für den Projektionsbericht 2023 (Datentabelle) (deutscher_projektionsbericht2023_rahmendaten) in the list here. As the (deutscher_projektionsbericht2023_rahmendaten) is there in the name, it is also shown in the bundles.

han-f commented 7 months ago

Thanks @adelmemariani. After refreshing it still renders the same for me. Attached a screenshot, including how it is rendered for the scenario (WEM) for which I already had it input prior to the new release:

grafik

han-f commented 7 months ago

I think something changed between the current and previous release. I now added a dataset here, too and as you can see the previously added ones render as I would expect, only the one added today includes also tags and the information in bracksts etc.

grafik

Would it be possible to revert back to how it previously worked?

adelmemariani commented 7 months ago

Thanks @adelmemariani. After refreshing it still renders the same for me. Attached a screenshot, including how it is rendered for the scenario (WEM) for which I already had it input prior to the new release:

I think to fix this issue, the bundle should be updated by first removing the wrong field and then adding it again.

Would it be possible to revert back to how it previously worked?

I updated the bundle, and it shows the correct fields. It could be related to a caching problem.

jh-RLI commented 7 months ago

As far as i understand this is solved and requred the user to read all dataset? I will close this issue please reopen if it persists.

han-f commented 6 months ago

For me even after removing everything from the cache I still see the weird names:

grafik

jh-RLI commented 6 months ago

I think to fix this issue, the bundle should be updated by first removing the wrong field and then adding it again.

Just to make sure: Have you tried removing entires and then adding them again? As far as I understand @adelmemariani, this is the only way to fix this for existing entries as they are not updated automatically.

jh-RLI commented 4 months ago

related to https://github.com/OpenEnergyPlatform/oeplatform/issues/1540