Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fdp-client] fields inherited from Resource are not shown. #580

Open
kburger opened this issue Nov 5, 2024 · 0 comments
Open

[fdp-client] fields inherited from Resource are not shown. #580

kburger opened this issue Nov 5, 2024 · 0 comments

Comments

@kburger
Copy link
Contributor

kburger commented Nov 5, 2024

What components are related to the issue?

Metadata Schemas, Other (specify in text)

Which FDP are you using?

My local instance

Version

Server
Version	v1.16.2~51911d6
Built at	17. 2. 2023, 14:55
Client
Version	v1.16.3~7ce364d
Built at	20. 2. 2023, 16:07

What happened?

Defining properties in the abstract Resource metadata schema will not show up in a metadata schema that extends Resource. A small working example:

@prefix : <http://fairdatapoint.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix dash: <http://datashapes.org/dash#>
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

:ResourceShape a sh:NodeShape ;
  sh:property [
    sh:path dct:title ;
    sh:nodeKind sh:Literal ;
    sh:minCount 1 ;
    dash:viewer dash:LiteralViewer ;
    dash:editor dash:TextFieldEditor
  ] .
@prefix : <http://fairdatapoint.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix dash: <http://datashapes.org/dash#>
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .

:DatasetShape a sh:NodeShape ;
  sh:targetClass dcat:Dataset ;
  sh:property [
    sh:path dct:description ;
    sh:nodeKind sh:Literal ;
    sh:minCount 1 ;
    dash:viewer dash:LiteralViewer ;
    dash:editor dash:TextAreaEditor
  ] .

The preview tab in the metadata schema editor, and the actual form will not show the title field.

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant