You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IFE model (https://github.com/DSD-DBS/Capella-IFE-sample) there are hlinks within descriptions that lead to diagrams. Some of those are simply hlink://_.... but some have a trailing "/". Those with trailing slash trigger the below exception:
File "templates/common_macros.html.j2", line 189, in template
<p>{{ obj.description | safe }}</p>
^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../capella_model_explorer/backend/explorer.py", line 106, in __finalize
return capellambse.helpers.replace_hlinks(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...python3.11/site-packages/capellambse/helpers.py", line 571, in replace_hlinks
return process_html_fragments(markup, cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...python3.11/site-packages/capellambse/helpers.py", line 616, in process_html_fragments
node_callback(node)
File "...python3.11/site-packages/capellambse/helpers.py", line 558, in cb
obj = model.by_uuid(target)
^^^^^^^^^^^^^^^^^^^^^
File "...python3.11/site-packages/capellambse/model/_model.py", line 379, in by_uuid
return _obj.ModelElement.from_model(self, self._loader[uuid])
~~~~~~~~~~~~^^^^^^
File "...python3.11/site-packages/capellambse/loader/core.py", line 1227, in __getitem__
return self.follow_link(None, key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "...python3.11/site-packages/capellambse/loader/core.py", line 1131, in follow_link
raise ValueError(f"Malformed link: {link!r}")
ValueError: Malformed link: '_xXSwEKv6EeSTJvLsyJitsw/'
The text was updated successfully, but these errors were encountered:
In IFE model (https://github.com/DSD-DBS/Capella-IFE-sample) there are hlinks within descriptions that lead to diagrams. Some of those are simply hlink://_.... but some have a trailing "/". Those with trailing slash trigger the below exception:
The text was updated successfully, but these errors were encountered: