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
Error while editing dictionary entry #61
Comments
The bigger problem is with creating entries, as creation process "never ends" with spinning "Please wait..." status message and same traceback but coming from |
Right, zato.admin.web.views.CreateEdit.call should check if response is OK and if it's not, it should raise an exception that will be caught by the method's final 'except Exception, e:' block. |
Sorry, I can't reproduce it - I can create entries just fine. Can you please put the server in DEBUG mode and post the logs? |
Ah, OK, you mean entries with values outside of what is allowed. Mhm, you're right. So this is a bug in the web admin as confirmed in a comment above and for now I will update docs to make it clear such values are not allowed. The docs should state it in any case. This bug is trivial to fix so if anyone feels like contributing a patch - feel free to send a pull request! |
The server "never finishes" creating entries with invalid chars On Tue, Jun 4, 2013 at 2:24 AM, Dariusz Suchojad
.................................................................................................................................... |
I don't understand it - are they created or not? Can you please post the logs? I just don't understand what "never finishes" means. Do you mean the worker hangs? |
Entries with invalid keys are not created. "Never finishes" is visually, the dialog stays open, the status message On Tue, Jun 4, 2013 at 10:50 AM, Dariusz Suchojad
.................................................................................................................................... |
OK, so this is a bug in web admin which doesn't check if response from servers is OK. Django always returns a success message to JavaScript and JS attempts to access elements that don't exist, hence the GUI hangs. OK, thanks for confirming everything is fine on the server side. This is GUI that needs a fix and documentation too because such names are really not allowed - this should be documented. |
If one adds/modifies Dictionary entry on
/zato/kvdb/data-dict/dictionary/
ofweb-admin
the following error is in logs:However the error is not exposed on UI and mis-informed as success "Successfully updated the dictionary entry system:[crm], key:[customer:test], value:[1]".
The text was updated successfully, but these errors were encountered: