-
Notifications
You must be signed in to change notification settings - Fork 17
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
Servershell attr command not working #127
Comments
Hi Emre, Thanks 😊. The attr command should work. However there are some assumptions (left) which are specific to our configured servertypes and attributes. I want to clean them up but did not have time yet or a good solution. You could try adding the "state" attribute as this has the most hard coded dependencies. I will check next week what the problem is here. Thanks for your report! |
I added an attribute typed "relation". Can you try that? |
I tried exactly the same and the problem remained. I tried to find out why and noticed that there are two Javascript files named |
Ah that makes sense. I split the Javascript files up while the redesign to have an easier time for development. On the long term I wanted to have them merged and minified anyways so there it would not make a difference anymore but until then we could just rename one to a different name. |
Can you please check if the linked PR fixes your problem @hasegeli ? |
It doesn't fix the problem. I was wrong. Though definitely it has something to do with the autocomplete. The problem goes away when the JavaScript file for autocomplete is removed. Also, it's worth noting that not only Can you not reproduce it on Safari? |
We have a few people working with Mac OS but I am unsure if they work with Safari - I will ask them. Otherwise I have a private Mac where I can try to reproduce it (Give me a few days).
It is at least a bug in terms of design then. Auto completion should not break basic functionality. |
Hey @hasegeli, I can reproduce this now on my Mac. The problem is with Safari that it seems not properly handle events which we use to update variables such as command, and search term. The command is just always and empty string for Safari because it never changes. I am checking why now. It works on all other Browser though Google Chrome, Opera, Safari, Firefox ... |
Okay I found the issue. The problem is that the |
Hey @hasegeli. I could not really find out why Safari and other browsers like Epihany do not fire or bubble up the change event for the input if the auto completion is enabled. My Fronted/Javascript knowledge is too limited for this. However I found a work around that should work. Can you please try it out and let me know if it works for you ? |
Yes, it does work. Thank you. |
I wanted to give Serveradmin a try this weekend. The new interface looks neat. Good job!
I added a few attributes, servertypes, and objects. Object creating went smooth. Then I realized the "attr" command not working. Is it a known issue?
I looked at my JavaScript console, but haven't seen anything other than "Failed to load resource: the server responded with a status of 404 (Not Found) http://127.0.0.1:8000/static/js/popper.min.js.map".
This is Safari Version 14.0.2 (16610.3.7.1.9) on MacOS 11.1 here.
The text was updated successfully, but these errors were encountered: