Problem with Multiple File Upload in latest release

If you think that something doesn't work in Aware IM post your message here
Post Reply
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Problem with Multiple File Upload in latest release

Post by Jhstephenson »

I have a process that allows for a client to upload multiple pictures to a BO. It has been working just fine.

We updated to the latest release last week and now the selection screen for picking the files we want to upload will not show up.

The process works as follows:

First, it opens a form with some session variables to add a description and a couple of other pieces of information:

View SessionVariables USING 'Media Upload Prompt'

After entering the prompt data there is a button to bring up the process that select the files and creates the new records. This process looks like this:

CREATE PASS_Media FOR EACH FileItem WITH
PASS_Media.CreatedBy=LoggedInEmployee,
PASS_Media.MediaFileDescription=SessionVariables.Title,
PASS_Media.Confidentiality=SessionVariables.ConfidentialityLevel,
PASS_Media.PASS_Report=SessionVariables.CurrentReport,
PASS_Media.MediaFile=FileItem.Doc,
PASS_Media.MediaFilePath=SystemSettings.DefaultMediaLocation+'\'+FILE_NAME(FileItem.Doc)+'.'+FILE_EXTENSION(FileItem.Doc)

The operation that calls the above process has 'Implements multi-file upload' checked

The problem is absolutely nothing happens when I hit the button to start that process and there are no log entries showing that anything is happening.

In version 8.7 (Build 3006) it works just fine.

But, in version 8.8 (whatever build) it just does nothing,

Is there something that has changed?

Thanks,
Jim
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Problem with Multiple File Upload in latest release

Post by Jaymer »

Thx
I was getting ready to upgrade.
This would have killed several apps.
Will be monitoring.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Re: Problem with Multiple File Upload in latest release

Post by Jhstephenson »

I was able to duplicate it in both a scaled down version of the app that I was trying to do it in and in a brand new bsv that was created in the new version.

I sent the last on to support and Vlad.

One interesting thing that we saw is that when we click on the button that runs the process to select the files the developer tools console shows an error in the following:

getPanelHeight: function ()
{
var phone = kendo.support.mobileOS && ! kendo.support.mobileOS.tablet;
return phone ? $(window).height () - 20 : phone ? $(window).height () - 200;
},

The error indicator shows up right next to the - 200;

No explanation given of what it doesn't like.

Jim
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Re: Problem with Multiple File Upload in latest release

Post by Jhstephenson »

Jaymer,

I received this from Vlad...


we have reproduced the problem. We will issue a new build on Monday. In the meantime you can fix this yourself if you do the following:
1. Open the file AwareIM/Tomcat/webapps/AwareIM/aware_kendo/mfu.js
2. Search for getPanelHeight. You will find this function in this function change the line
return phone ? $(window).height () - 20 : phone ? $(window).height () - 200;
to
return phone ? $(window).height () - 20 : $(window).height () - 200;

3.Save the file
4. Clear browser cache and refresh it

And this...

Hi Jim,

this should be fixed in build 3125

Best Regards,
Vladimir Simkin
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Problem with Multiple File Upload in latest release

Post by Jaymer »

cool. thx. will plan on that new build. don't want to update twice.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
Post Reply