sovity / edc-ui

Connector UI for the sovity EDC Community Edition.
https://sovity.de/en/connect-to-data-space-en/
Apache License 2.0
36 stars 15 forks source link

Fix UI incorrectly displays errors in Policy #662

Open tmberthold opened 9 months ago

tmberthold commented 9 months ago

Enhancement

Description

If policies are created via the Management-API that cannot be created via the UI, the UI indicates that the policy is incorrect, even though they technically work.

Expected Behavior

Don't show errors in the UI if technically there aren't any. Or expand the UI so that all functionalities of the Management-API are supported.

Observed Behavior

image

image

Steps to Reproduce

Steps to reproduce the behavior:

Create a policy via Management-API, which cannot be created via the UI but still works technically.

Context Information

Possible Implementation and Work Breakdown

Possible short-term solution: Hide the error message for the scenario described above given that the policy actually works.

kamilczaja commented 3 months ago

While the UI is not supporting every edge-case and all shenanigans that could be achieved by using the management API, we recently implemented and/or constraints and empty constraints officially into the UI and the API Wrapper. This should suffice to support most use cases found in MDS or Catena-X.

So, while we don't have and probably don't intend to implement everything described in this issue, the linked MDS issue was fixed here: https://github.com/sovity/edc-ce/pull/1012

The question here is: Can this be closed?

illfixit commented 3 months ago

the original MDS issue includes only 0 constraints error and as mentioned before it was already fixed. the second part in our issue (not in MDS) also mentions other errors like OrConstraints are currently unsupported

AbdullahMuk commented 3 months ago

@kamilczaja @illfixit thanks for sharing these insights.

We will assess the efficiency of the current fixes after all connectors have been upgraded to latest version of edc-ui. moving this issue to a later sprint.

richardtreier commented 3 months ago