Issue when uploading file

Forum to discuss the new web client version of Servoy.

Issue when uploading file

Postby jay.rao » Tue May 08, 2018 12:55 pm

Hi,

We keep on getting below error whenever to upload a document or preview the document. This was never the issue before, also this case only appears in the war uploaded version on the server and not the local version. Can you please explain what can be the possible cause of the error.
Error.PNG

Thanks in advance
You do not have the required permissions to view the files attached to this post.
jay.rao
 
Posts: 59
Joined: Mon Apr 10, 2017 1:32 pm

Re: Issue when uploading file

Postby rgansevles » Fri May 11, 2018 10:26 am

jay.rao,

Which version of Servoy are you using?

It seems from the error that the Servoy code version in the war export is >= 8.1 and the file plugin version is < 8.1
The old file plugin is not compatible with newer Servoy installs.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Issue when uploading file

Postby robrecht » Mon May 14, 2018 1:47 pm

Hi Rob,

I think it's the latest plugin but how can we check to be sure?
Is this version nr in package.xml the Servoy version number?
This is in the package xml :

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<mp:servoy-extension xmlns:mp="http://www.servoy.com/extension" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.servoy.com/extension http://www.servoy.com/schema/servoy-extension-1.xsd">
   <extension-id>com.servoy.file</extension-id>
   <extension-name>File Plugin</extension-name>
   <version>7.3.1</version>
   <dependencies>
       <servoy>
          <min-version>7.3.1 rc0</min-version>
       </servoy>
   </dependencies>
   <info>
      <icon path="screenshots/file.png"/>
      <description>Plugin for file handling. It provides file and folder functions such as creating, modifying, deleting, returning content and/or size of files and folders.</description>
   </info>
   <requiresRestart/>
</mp:servoy-extension>


Edit
Are there other files to check? This package file seems unchanged even in Servoy 8.3
robrecht
 
Posts: 99
Joined: Wed Aug 01, 2012 4:30 pm

Re: Issue when uploading file

Postby rgansevles » Tue May 15, 2018 10:20 pm

Unfortunately, you cannot see from the file.jar what version it is.

The file.jar inside the war is the one used, if you make a new war export it should include a matching version.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 9 guests