[jira] [Commented] (CONNECTORS-1295) Windows Share Connector's job: Maximum document length parameter is ignored

2016-04-14 Thread Konstantin Avdeev (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15241022#comment-15241022
 ] 

Konstantin Avdeev commented on CONNECTORS-1295:
---

Great support! Thank you! :)

> Windows Share Connector's job: Maximum document length parameter is ignored
> ---
>
> Key: CONNECTORS-1295
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1295
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: JCIFS connector
>Affects Versions: ManifoldCF 2.3
> Environment: Windows Server 2012
>Reporter: Konstantin Avdeev
>Assignee: Karl Wright
> Fix For: ManifoldCF 2.4
>
> Attachments: CONNECTORS-1295.patch
>
>
> It seems, the windows share jobs ignore the "Maximum document length" 
> parameter and download documents of any length, e.g.:
> Edit job -> Content Length -> Maximum document length:
> 50485760
> And from from the history output:
> {code}
> 04-14-2016 10:52:32.813 access 
> smb://server.domain.com/share/dir1/dir2/dirXXX.../file.tif
> code:OK bytes:406334712 time:134843 
> {code}
> Any ideas, why this huge file was not rejected?
> Thanks a lot!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CONNECTORS-1295) Windows Share Connector's job: Maximum document length parameter is ignored

2016-04-14 Thread Konstantin Avdeev (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15241008#comment-15241008
 ] 

Konstantin Avdeev commented on CONNECTORS-1295:
---

one more double check from the "jobs" table: {{select description,docspec from 
jobs}}
{code:xml}

{code}

> Windows Share Connector's job: Maximum document length parameter is ignored
> ---
>
> Key: CONNECTORS-1295
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1295
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: JCIFS connector
>Affects Versions: ManifoldCF 2.3
> Environment: Windows Server 2012
>Reporter: Konstantin Avdeev
>Assignee: Karl Wright
> Fix For: ManifoldCF 2.4
>
> Attachments: CONNECTORS-1295.patch
>
>
> It seems, the windows share jobs ignore the "Maximum document length" 
> parameter and download documents of any length, e.g.:
> Edit job -> Content Length -> Maximum document length:
> 50485760
> And from from the history output:
> {code}
> 04-14-2016 10:52:32.813 access 
> smb://server.domain.com/share/dir1/dir2/dirXXX.../file.tif
> code:OK bytes:406334712 time:134843 
> {code}
> Any ideas, why this huge file was not rejected?
> Thanks a lot!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CONNECTORS-1295) Windows Share Connector's job: Maximum document length parameter is ignored

2016-04-14 Thread Karl Wright (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15241002#comment-15241002
 ] 

Karl Wright commented on CONNECTORS-1295:
-

I found the issue; a double increment on a loop.

Attaching a patch.


> Windows Share Connector's job: Maximum document length parameter is ignored
> ---
>
> Key: CONNECTORS-1295
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1295
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: JCIFS connector
>Affects Versions: ManifoldCF 2.3
> Environment: Windows Server 2012
>Reporter: Konstantin Avdeev
>
> It seems, the windows share jobs ignore the "Maximum document length" 
> parameter and download documents of any length, e.g.:
> Edit job -> Content Length -> Maximum document length:
> 50485760
> And from from the history output:
> {code}
> 04-14-2016 10:52:32.813 access 
> smb://server.domain.com/share/dir1/dir2/dirXXX.../file.tif
> code:OK bytes:406334712 time:134843 
> {code}
> Any ideas, why this huge file was not rejected?
> Thanks a lot!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CONNECTORS-1295) Windows Share Connector's job: Maximum document length parameter is ignored

2016-04-14 Thread Konstantin Avdeev (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15240989#comment-15240989
 ] 

Konstantin Avdeev commented on CONNECTORS-1295:
---

just double checked the value: no special chars as far as I can see:
{code:html}
Maximum document length:

{code}


> Windows Share Connector's job: Maximum document length parameter is ignored
> ---
>
> Key: CONNECTORS-1295
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1295
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: JCIFS connector
>Affects Versions: ManifoldCF 2.3
> Environment: Windows Server 2012
>Reporter: Konstantin Avdeev
>
> It seems, the windows share jobs ignore the "Maximum document length" 
> parameter and download documents of any length, e.g.:
> Edit job -> Content Length -> Maximum document length:
> 50485760
> And from from the history output:
> {code}
> 04-14-2016 10:52:32.813 access 
> smb://server.domain.com/share/dir1/dir2/dirXXX.../file.tif
> code:OK bytes:406334712 time:134843 
> {code}
> Any ideas, why this huge file was not rejected?
> Thanks a lot!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CONNECTORS-1295) Windows Share Connector's job: Maximum document length parameter is ignored

2016-04-14 Thread Karl Wright (JIRA)

[ 
https://issues.apache.org/jira/browse/CONNECTORS-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15240929#comment-15240929
 ] 

Karl Wright commented on CONNECTORS-1295:
-

I've examined the code and file length checking is present and should be 
working as it always has.

The only thing I can think of is that the number you have given it may be of 
incorrect format (maybe containing a leading or trailing space perhaps?) which 
the Javascript is not catching.  This too should be fixed but first please have 
a look and see if that is what may be happening.


> Windows Share Connector's job: Maximum document length parameter is ignored
> ---
>
> Key: CONNECTORS-1295
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1295
> Project: ManifoldCF
>  Issue Type: Bug
>  Components: JCIFS connector
>Affects Versions: ManifoldCF 2.3
> Environment: Windows Server 2012
>Reporter: Konstantin Avdeev
>
> It seems, the windows share jobs ignore the "Maximum document length" 
> parameter and download documents of any length, e.g.:
> Edit job -> Content Length -> Maximum document length:
> 50485760
> And from from the history output:
> {code}
> 04-14-2016 10:52:32.813 access 
> smb://server.domain.com/share/dir1/dir2/dirXXX.../file.tif
> code:OK bytes:406334712 time:134843 
> {code}
> Any ideas, why this huge file was not rejected?
> Thanks a lot!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)