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

Design of new ontology customization freezes immediately after setting the namespace #43

Open
svatek opened this issue Feb 24, 2014 · 14 comments

Comments

@svatek
Copy link

svatek commented Feb 24, 2014

When designing a new ontology customization, with a graph view opened, after setting the customization name and namespace, the processing freezes, with a progress bar. Tested in FF and Chrome.
ontology_customization_bug

@jirihelmich
Copy link

Ondra, could you resolve this, please?

@kudlondr
Copy link
Contributor

Sorry for the delay, I must have missed the email notification.

I used http://dbpedia.org/ontology/Settlement and http://dbpedia.org/ontology/City and the customization was successfully created. Is the error still uccurring? If so, could you, please, send me the ontology URI, that you are trying to create customization from?

@jirihelmich
Copy link

@jirihelmich
Copy link

When I see the screenshot, I think I know where the problem is.

The URL is not meant to be a namespace, but actually an URL containing the ontology definition to be downloaded and parsed, like http://opendata.cz/pco/public-contracts.ttl

Am I right, Vojtech?

Ondra, please, check the behaviour for the case an URL with invalid data (e.g. not an ontology,) is passed.

@kudlondr
Copy link
Contributor

When no ontology identifier is set in the "Create a new ontology customization" dialog or any identifier pointing to data describing something other than an ontology, Payola does not freeze, but the input fields the dialog get highlighted.

I guess, it may be some other error. But I'm not able to get Payola frozen. The edit dialog is shown or the load bar disappears.

@jirihelmich
Copy link

I think (based on screenshot), that Vojtech filled in "http://purl.org/goodrelations/v1#". So not empty, but this, which does not point to the ontology definition itself.

@kudlondr
Copy link
Contributor

Well, http://purl.org/goodrelations/v1# works fine and creates a customization, but it is now forwarded to http://www.heppnetz.de/ontologies/goodrelations/v1.owl. Which might not have been back then, when Mr Svatek created this issue.

@jirihelmich
Copy link

I just tried to reproduce by filling in "http://www.heppnetz.de/ontologies/goodrelations/v1#" and it did not freeze, you're right.

@kudlondr
Copy link
Contributor

I guess, this is resolved

@jirihelmich
Copy link

I just tried on Vojtech's notebook and under his account, it is definitely an issue.

@jirihelmich jirihelmich reopened this May 5, 2014
@kudlondr
Copy link
Contributor

kudlondr commented May 5, 2014

Jirka, could you, please, send me the ontology URI, that you were trying to create?

@jirihelmich
Copy link

It is still the http://www.heppnetz.de/ontologies/goodrelations/v1.owl.

The problem is that it works under admin@payola account and not under Vojtech's newly created one. Any ideas? I can help you to solve this, but it would be great to have a basic idea about what's wrong...

@kudlondr
Copy link
Contributor

kudlondr commented May 7, 2014

Well I found an error, coasing that buttons Create User and Ontology customizations were not visible for users without any owned customizations. After fixing that, creating an ontology customization was no problem at all and the editation dialog poped right up.

That might solve the issue you found. After the ontology customization is created, the dropdown menu with customizations is updated. At that point, JavaScript might have gotten stuck, as Vojtech described. I will upload the fix right up to playground.

I might use some help with css on the edit customization dialogs, which are still mess after the bootstrap migration. If you are interested, pick Ontology or (if you got more spare time) User customization editor dialog.

@jirihelmich
Copy link

OK, I don't have Vojtech's credentials, so I cannot confirm it is fixed. Maybe he will.

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

3 participants