It is currently 8 May 2025, 18:00 Advanced search

Upload error msg...

Questions and answers on how to best use Instant Developer

Upload error msg...

Postby john w » 19 April 2025, 17:23

I have been trying to build a form in an InDe Project to upload data for processing. I have built it like others I have done in the past. However, this time I am getting an error. It happens when the form loads. It seems isolated to this particular form, others work fine.

Has anyone else seen this kind of error? It does not show in the debug.

ScrnCapt_2025.04.19.png
ScrnCapt_2025.04.19.png (27.99 KiB) Viewed 573 times
Regards

John W
User avatar
john w
 
Posts: 836
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: Upload error msg... SOLVED

Postby john w » 19 April 2025, 17:36

The upload does not like Fluid.

This is something the people at Instant Developer need to fix.

UPDATED (04/21/2025): Sent a malfunction report to Instant Developer.
Regards

John W
User avatar
john w
 
Posts: 836
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: Upload error msg...

Postby john w » 22 April 2025, 16:34

Instant Developer states they cannot find an issue. However, when I check or uncheck the Fluid box in Compiling Parameters the error shows or goes away> I will update to the version released today to see it that is the fix.

*****After updating to the current version the error still occures. I guess I will not be able to use Fluid for this application.
Regards

John W
User avatar
john w
 
Posts: 836
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA

Re: Upload error msg...

Postby ljwilson » 23 April 2025, 16:44

Did your malfunction report include a sample app which can reproduce the problem? If so can you attach it here--could be an environment issue, so wouldn't hurt to try it in a couple more places.
...jack
ljwilson
 
Posts: 784
Joined: 26 November 2013, 14:15

Re: Upload error msg...

Postby d.pierangeli » 24 April 2025, 10:09

I checked the attached project myself and unfortunately, I did not see the case in question. Could it possibly occur when pressing F5? As a test, I would also try removing the option -enterQBEMode()—which you added to the project—to see if that is causing the issue.
User avatar
d.pierangeli
Pro Gamma
Pro Gamma
 
Posts: 8109
Joined: 30 September 2010, 15:35

Re: Upload error msg...

Postby john w » 24 April 2025, 17:13

Jack took a look at this and discovered the Fluid is not using the same object names for javascript. I was using this

//// this worked in rd3, but not fluid
//CLTMarketchangeApp.executeOnClient("document.getElementsByName("blob")[0].click();")

He found this worked in fluid....

// just this line is needed in fluid
CLTMarketchangeApp.executeOnClient("setTimeout(() => document.querySelector(".control-blob-upload")?.click(), 40);")
Regards

John W
User avatar
john w
 
Posts: 836
Joined: 24 October 2012, 16:29
Location: Apple Valley, Minnesota USA


Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 11 guests