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

New project from exported one - empty error message when no file is selected #903

Closed
FabianCretton opened this issue Oct 19, 2021 · 2 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@FabianCretton
Copy link
Collaborator

I wanted to create a new project from an exported one, and I pressed on "Create project" before choosing the file.
There was an error message, but empty:
image

@l00mi l00mi added the 🐛 bug Something isn't working label Nov 1, 2021
@tpluscode
Copy link
Collaborator

RE zazuko/rdf-validate-shacl#67

The shape used is an alternative (sh:xone) of the 3 variants for creating project: mapping, external, import (excerpt)

</shape/cube-project/create>
  sh:xone (
    [
       sh:property [
         sh:path cc:projectSourceKind ;
         dash:hidden true ;
         sh:hasValue <https://cube-creator.zazuko.com/vocab#projectSourceKind/ExportedProject> ;
       ], [
         sh:name "Project data" ;
         sh:path cc:export ;
         sh:minCount 1 ;
         sh:maxCount 1 ;
         dash:editor cc:dashFileUpload ;
      ]
    ]
  ) ;
.

The error is not correctly communicated from the nested shape and it's an issue in multiple places

@l00mi
Copy link
Collaborator

l00mi commented Nov 8, 2021

Will be solved with #947, closing this one for now.

@l00mi l00mi closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
Status: Closed
Development

No branches or pull requests

3 participants