-
Notifications
You must be signed in to change notification settings - Fork 163
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
The page is not refreshed when editing the entries #2788
Comments
JavaScript error in ticket that is most likely the cause of the unexpected behaviour: 15:00:54.126 admin.min.js?ver=1.7.3:1 Uncaught ReferenceError: ajaxurl is not defined |
Short debug information: I tested by creating a form with the sub-menu entry viewer installed. I then tested with the entry viewer in the admin page. I observed the same behaviour. I did not get any JavaScript errors when I did this. When I submit the form to save the entry I get the PHP warning, |
Potential solution for this and related issues -- warning is echoed, then proper JSON, which we can't parse is start ouput buffer when submission starts. Then
|
#2822 is a PR to address this. |
* develop: During form submission, start buffer, then flush it. #2820 and #2448 and #2788 Set window.cf2 if not an object #2821 #2814 schedule deletes in cf2 fiel fields and cleanup that handler a bit #2814 schedule deletes #2814 handle deleting directory if empty Only try to delete file, if it exists #2814 Test to prove that the delete file job will make an uncaught exception in some cases #2814 Make new job for deleting tests work #2814 New job for deleting files #2814 - failing tests Make new utility methods needed for #2814 and #2794 work Failing tests for utility methods needed for #2814 and #2794 #2814 rm dead code and add inline docs to existing delete job # Conflicts: # cf2/functions.php
Close via #2822 |
Do You Need Immediate Help?
https://secure.helpscout.net/conversation/687067564/13287?folderId=2372292
Is This A Feature Request?
What Version Of Caldera Forms, WordPress and PHP Are You Using?
Does Your Issue Persist When You Disable All Other Plugins and Switch To The Default Theme?
Yes. The issue persist with all plugins disabled and with the default WordPress theme (Twenty seventeen)
What Is The Unexpected Behaviour?
I enabled the option to create a sub-menu entry viewer. This add a new link in the left sidebar in the WordPress dashboard in Caldera Forms group. If I edit entries from this link the error happens. Every time that I edited the entries for any form with this option enabled, no matters the field, and click save, a loading icon starts to spin but never ends. The information is actually updated in the form, but the page is not refreshed.
If you select the entries from Caldera Forms > Forms > form name > Entries > View > Edit, the error doesn't occur. I enabled the same option for other forms that I have in my installation, and got the same issue.
What PHP Errors Have You Logged While Reproducing This Bug?
16:45:13.331 vue.min.js:2 [Vue warn]: Cannot find element: #caldera-forms-clippy
te @ vue.min.js:2
Xa @ vue.min.js:1
Ka.$mount @ vue.min.js:3
Fa @ vue.min.js:1
a._init @ vue.min.js:2
Ka @ vue.min.js:1
(anonymous) @ caldera-clippy.js:45
(anonymous) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
(anonymous) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:4
c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:4
XMLHttpRequest.send (async)
send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:4
ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:4
n.(anonymous function) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:4
get @ caldera-clippy.js:80
CalderaFormsAdminClippys2.init @ caldera-clippy.js:36
(anonymous) @ admin.min.js:1
i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
K @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,zxcvbn-async,password-strength-meter,jquery-ui-c&load[]=ore,jquery-ui-tabs,jquery-form&ver=4.9.8:2
The text was updated successfully, but these errors were encountered: