Deployment of a plan fails [message #1742799] |
Wed, 07 September 2016 16:38 |
|
When I select a plan file in the web interface and press deploy I get the following error:
"Deployment result
File name contains '/' or '\', this is not allowed."
The file name doesn't have any of those special characters but the path to that files does.
What is the deployment tool expecting?
Virgo 3.6.4RELEASE
|
|
|
|
Re: Deployment of a plan fails [message #1742881 is a reply to message #1742846] |
Thu, 08 September 2016 12:16 |
|
Hi GianMaria,
It works fine when the plan is added/removed from the pickup directory.
So the plan name in the XML doesn't appear to be the problem.
I wanted to show my customer that they would be able to deploy new/updated plans via the web interface.
It doesn't look like the upload even starts. I think that there is some kind of java script checking in the web interface.
|
|
|
|
Re: Deployment of a plan fails [message #1743147 is a reply to message #1743144] |
Mon, 12 September 2016 15:57 |
|
Hi Daniel,
1. The file and the plan name (in the xml) are the a simple name, no special characters at all. When it is deployed via the shell (i.e. copied in to pickup) then it works as planned.
2. This is where the difference is. I am attempting to deploy a file from the C drive to a remote server, so the result of the selected file is something like "C:\workspace\virgo-test\test.plan", so the complete path is displayed after selecting the file. I think I had the same problem on my Linux PC as well (/home/USER/workspace/virgo-test/test.plan).
I think that it is something to do with how the plan file name is being processed prior to being sent to virgo for processing.
3. The server has been configured for https and I've set up SPNEGO for authentication. The servers are running on Linux (RHEL) with the Oracle JVM.
4. The customer only has MS Explorer, I'm not sure what version it is though. (I was using the latest firefox)
Bill
|
|
|
|
|
|
|
|
|
Re: Deployment of a plan fails [message #1765415 is a reply to message #1765359] |
Fri, 09 June 2017 10:02 |
|
Hi Dani,
The Browser at the customer site shows the entire path when a file is selected "(DOT) [FILE NAME BOX WITH FULL PATH] (Submit Button)" unlike your picture (also what what I see in Firefox on Linux too).
Can the server not just strip anything preceding the last "/" and "\" as the file name and then only report an error if the remainder isn't valid?
Regards,
Bill
|
|
|
|
Re: Deployment of a plan fails [message #1765487 is a reply to message #1765417] |
Sat, 10 June 2017 20:06 |
|
Hi Dani,
it is a security option that the customer's security team has forced to enabled for additional security. The users always see the full path.
See: <input type='file'> for IE gives full path, need file name only
In that post the option is described: In the Security Settings scroll down until you see "Include local directory path when uploading files to a server" and disable it.
The server should (has to) be able to strip any preceding path information for it to function, even with this option is turned on.
Regards,
Bill
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04093 seconds