Cannot edit results when a file is attached to the form.

Permalink Browser Info Environment
Hi there.

We are running into an odd issue that seriously impacts Formidable's usability for our group.

We have built a form for our users to record new contracts with vendors. In the form, we record the service ID and attach the contract file. Our users will also record a purchase order number, but they may not always have the number when filling out this form. As a result, our process is that once the user has the purchase order number, they would go to the Results page, find the relevant entry, and edit it so they can add the purchase order number.

However, we have discovered during testing that if a file is attached to an entry, we can no longer save further changes to that entry. The issue is the Submit button. It changes instead to the "Please Wait" button with the loader.gif next to it. It never changes back to Submit. What's more, if the user encounters this error, and then goes back to the page where the form has been added and refreshes the page, the form then loads the submission the user was trying to edit, along with the stuck "Please Wait" button.

Please see the attached images for reference.

I didn't see any reports in the logs or see any errors in Developer Tools to suggest what might be causing the error. The only way around this seems to be either deleting the existing file and re-adding it (leading to multiple copies of the same file in our File Manager), or adding a second file. We need to be able to edit existing entries that have files attached without having to use this workaround, please.

Thanks,
John

2 Attachments

Type: Ticket
Status: Archived
campbell
View Replies:
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi,

Sorry for the late reply.
Could you send me a login? And mabe FTP-login details?
I can't seem to reproduce....

Please send them to wim@dewebmakers.nl

Best,

Corretje
campbell replied on at Permalink Reply
campbell
Hi, Corretje.

Our system is behind a firewall and contains proprietary and sensitive information. Unfortunately, I can't provide you access. Are there troubleshooting steps or information gathering steps I should take to provide you more context and data?
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hmmm... That's a shame...
Could you send me a copy of the database tables? All tables that start with "Formidable..." will be fine.

Send them to wim@dewebmakers.nl

Best,

Corretje
campbell replied on at Permalink Reply
campbell
Hello, Corretje.

I've sent you an email with the tables in question. Please let me know if you don't receive it or if there is anything else you need from me to help diagnose this issue.

Thanks,
John
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
campbell replied on at Permalink Reply
campbell
Just re-opening the ticket and seeing if you've gained any insight into what might be the cause of this issue.

Thanks,
John
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi John,

Thank you for reopening. I've your data still here.
I'll try to see what is happening and update as soon as possible.

Best,

Corretje
DeWebmakers replied on at Permalink Reply
DeWebmakers
Just updated the addon! There is a fix.
campbell replied on at Permalink Reply 1 Attachment
campbell
Hi, Corretje.

I downloaded and installed the latest version of Formidable (2.0.6), and that does seem to have fixed the issue with the button. However, it has introduced a new issue.

When I edit an entry in the Results table, the edit interface continually pushes me to the top of the window. So if I scroll down to modify an entry near the bottom of the form, the window jumps back to the top of the form. I've cleared my cache, but the issue still occurs in every browser I've tried (Chrome, Safari, Firefox). I've attached an .mp4 file to demonstrate the issue.

Thanks,
John
DeWebmakers replied on at Permalink Reply
DeWebmakers
Hi,

I think I found a solution. Could you test it for me?
Could you try to add the following to the /packages/formidable_full/js/formidable.js
Go to line: 764:
var step_animate = function () {
if (!options.animate_step) {

to:
var step_animate = function () {
if ($('div[data-step]').length <= 0) return true;
if (!options.animate_step) {


Then clear your cache and see what happens!
Let me know.
campbell replied on at Permalink Reply
campbell
It looks like that worked. Thank you so much for the quick reply!
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.2
Version Installed - 8.4.2
Database Version - 20180716000000

# concrete5 Packages
Accordion Menu (3.0), Block Designer (1.2.8), Call to Action Pro (1.0.0), Editor Comment (7.0.1), ExchangeCore LDAP Authentication (1.2.3), Formidable (Full Version) (2.0.4), Honest Websites Back To Top (1.1.0), HTML+PHP Code Block (1.0.1), Icons for Redactor (0.9.1), List files from set (1.0.13), Login/Logout Link (1.0), Login Page Background (0.9), Magic Tabs (7.2.0), Page Activity (0.9.3), Page List+ (2.0.1.3), Page Selector Attribute (2.0), PDF Viewer (1.0.1), Pending Pages (0.9.4), Raptorize (2.0), Search++ (0.1.12), Spacer (0.9.4), Supermint Theme (3.4.1.3), Thumb Gallery (1.0.3), Tokens (1.0.0)

# concrete5 Overrides
blocks/expire_six/add.php, blocks/expire_six/composer.php, blocks/expire_six/config.json, blocks/expire_six/controller.php, blocks/expire_six/db.xml, blocks/expire_six/edit.php, blocks/expire_six/form.php, blocks/expire_six/icon.png, blocks/expire_six/view.php, blocks/expire_six, blocks/expire_three/add.php, blocks/expire_three/composer.php, blocks/expire_three/config.json, blocks/expire_three/controller.php, blocks/expire_three/db.xml, blocks/expire_three/edit.php, blocks/expire_three/form.php, blocks/expire_three/icon.png, blocks/expire_three/view.php, blocks/expire_three, blocks/expire_twelve/add.php, blocks/expire_twelve/composer.php, blocks/expire_twelve/config.json, blocks/expire_twelve/controller.php, blocks/expire_twelve/db.xml, blocks/expire_twelve/edit.php, blocks/expire_twelve/form.php, blocks/expire_twelve/icon.png, blocks/expire_twelve/view.php, blocks/expire_twelve/view_old.php, blocks/expire_twelve, blocks/last_update_page_owner/add.php, blocks/last_update_page_owner/composer.php, blocks/last_update_page_owner/config.json, blocks/last_update_page_owner/controller.php, blocks/last_update_page_owner/db.xml, blocks/last_update_page_owner/edit.php, blocks/last_update_page_owner/form.php, blocks/last_update_page_owner/icon.png, blocks/last_update_page_owner/view.php, blocks/last_update_page_owner, blocks/user_avatar/add.php, blocks/user_avatar/composer.php, blocks/user_avatar/config.json, blocks/user_avatar/controller.php, blocks/user_avatar/db.xml, blocks/user_avatar/edit.php, blocks/user_avatar/form.php, blocks/user_avatar/icon.png, blocks/user_avatar/view.php, blocks/user_avatar, blocks/user_photo/add.php, blocks/user_photo/composer.php, blocks/user_photo/config.json, blocks/user_photo/controller.php, blocks/user_photo/db.xml, blocks/user_photo/edit.php, blocks/user_photo/form.php, blocks/user_photo/icon.png, blocks/user_photo/view.php, blocks/user_photo, elements/page_controls_footer.php.old, elements/page_controls_footer.php.trash, elements/page_controls_footer.php, authentication/concrete/form.php, authentication/concrete, tools/pages/preview_version.php, tools/pages

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips PHP/7.1.8

# Server API
apache2handler

# PHP Version
7.1.8

# PHP Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 180
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 3000
memory_limit - 512M
post_max_size - 500M
sql.safe_mode - Off
upload_max_filesize - 500M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 57600

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.