From dev-return-18605-archive-asf-public=cust-asf.ponee.io@manifoldcf.apache.org Sun Sep 30 15:59:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9D088180677 for ; Sun, 30 Sep 2018 15:59:04 +0200 (CEST) Received: (qmail 90061 invoked by uid 500); 30 Sep 2018 13:59:03 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 90047 invoked by uid 99); 30 Sep 2018 13:59:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2018 13:59:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4D34BC01C1 for ; Sun, 30 Sep 2018 13:59:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id VxTVZhWT_VQb for ; Sun, 30 Sep 2018 13:59:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A036D5F4A9 for ; Sun, 30 Sep 2018 13:59:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C4D3EE25B2 for ; Sun, 30 Sep 2018 13:59:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 46F1A27761 for ; Sun, 30 Sep 2018 13:59:00 +0000 (UTC) Date: Sun, 30 Sep 2018 13:59:00 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CONNECTORS-1532) Moving a file outside of the job's Paths is not the same as deleting it MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-1532?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright updated CONNECTORS-1532: ------------------------------------ Attachment: (was: DCTM.java) > Moving a file outside of the job's Paths is not the same as deleting it > ----------------------------------------------------------------------- > > Key: CONNECTORS-1532 > URL: https://issues.apache.org/jira/browse/CONNECTORS-153= 2 > Project: ManifoldCF > Issue Type: Bug > Components: Documentum connector > Affects Versions: ManifoldCF 2.10 > Environment: Manifold 2.10 patched for #1512, #1517 > Reporter: James Thomas > Assignee: Karl Wright > Priority: Major > Fix For: ManifoldCF 2.12 > > Attachments: 2018-09-19_1758.png, CONNECTORS-1532.patch, DCTM.jav= a, logging_patch.diff > > > If I have a MF job which is connecting a specific folder, F, in Documentu= m to a File System output then: > 1. deleting files in Documentum shows them as zero size in the file syste= m > 2. moving files out of F does not remove them or zero them in the file sy= stem > Note that moving a file from another folder (which the job is not looking= at) to F has the same effect as adding it to F by e.g. importing it in DM = or POSTing it to DM via the REST interface. > Intuitively, I expect that moving a file out of the "view" of the Documen= tum connector would have the same effect on the File System as deleting it.= (My model here is of MF synchronising content between the Paths (DM) and t= he Output Path (File System) that I have specified in the job.) > Starting point, I have run the MF job to fetch a bunch of files from a fo= lder - call it F - in DM (i.e. I have configured Paths in the job to be F).= This is what 'ls -l' on the file system looks like: > {code:java} > -rw-r--r--. 1 root i2e=C2=A0 12541 Sep 19 07:21 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c0 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0 26 Sep 19 07:21 drl?versio= nLabel=3DCURRENT&objectId=3D090000018000f7be > -rw-r--r--. 1 root i2e=C2=A0 85772 Sep 19 07:21 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c7 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0 8790 Sep 19 07:21 drl?versionLabel=3DC= URRENT&objectId=3D090000018000f7c2 > -rw-r--r--. 1 root i2e 101888 Sep 19 07:21 drl?versionLabel=3DCURRENT&obj= ectId=3D090000018000f7c3 > -rw-r--r--. 1 root i2e=C2=A0 32783 Sep 19 07:21 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c4 > -rw-r--r--. 1 root i2e=C2=A0 23040 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c1 > -rw-r--r--. 1 root i2e=C2=A0 26112 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7bf{code} > In DM, I delete one of the files in F and it shows as zero size, and the = modification date has changed: > {code:java} > -rw-r--r--. 1 root i2e=C2=A0 12541 Sep 19 07:21 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c0 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0 26 Sep 19 07:21 drl?versio= nLabel=3DCURRENT&objectId=3D090000018000f7be > -rw-r--r--. 1 root i2e=C2=A0=C2=A0 8790 Sep 19 07:21 drl?versionLabel=3DC= URRENT&objectId=3D090000018000f7c2 > -rw-r--r--. 1 root i2e 101888 Sep 19 07:21 drl?versionLabel=3DCURRENT&obj= ectId=3D090000018000f7c3 > -rw-r--r--. 1 root i2e=C2=A0 32783 Sep 19 07:21 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c4 > -rw-r--r--. 1 root i2e=C2=A0 23040 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c1 > -rw-r--r--. 1 root i2e=C2=A0 26112 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7bf > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:23 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c7{code} > In DM, I move a file from F to another folder. (Right click, add to clipb= oard, go to new folder, Edit> Move here).=20 > The file shows as modified (07:25), but is still apparently in F (i.e. in= the Path my MF job is looking at): > {code:java} > -rw-r--r--. 1 root i2e=C2=A0 12541 Sep 19 07:21 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c0 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0 26 Sep 19 07:21 drl?versio= nLabel=3DCURRENT&objectId=3D090000018000f7be > -rw-r--r--. 1 root i2e=C2=A0=C2=A0 8790 Sep 19 07:21 drl?versionLabel=3DC= URRENT&objectId=3D090000018000f7c2 > -rw-r--r--. 1 root i2e 101888 Sep 19 07:21 drl?versionLabel=3DCURRENT&obj= ectId=3D090000018000f7c3 > -rw-r--r--. 1 root i2e=C2=A0 23040 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c1 > -rw-r--r--. 1 root i2e=C2=A0 26112 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7bf > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:23 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c7 > -rw-r--r--. 1 root i2e=C2=A0 32783 Sep 19 07:25 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c4{code} > In DM, I move a file from another folder to F and it shows up with the ti= mestamp of the move (07:28): > {code:java} > -rw-r--r--. 1 root i2e=C2=A0 12541 Sep 19 07:21 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c0 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0 26 Sep 19 07:21 drl?versio= nLabel=3DCURRENT&objectId=3D090000018000f7be > -rw-r--r--. 1 root i2e=C2=A0=C2=A0 8790 Sep 19 07:21 drl?versionLabel=3DC= URRENT&objectId=3D090000018000f7c2 > -rw-r--r--. 1 root i2e 101888 Sep 19 07:21 drl?versionLabel=3DCURRENT&obj= ectId=3D090000018000f7c3 > -rw-r--r--. 1 root i2e=C2=A0 23040 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c1 > -rw-r--r--. 1 root i2e=C2=A0 26112 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7bf > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:23 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c7 > -rw-r--r--. 1 root i2e=C2=A0 32783 Sep 19 07:25 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c4 > -rw-r--r--. 1 root i2e 191513 Sep 19 07:28 drl?versionLabel=3DCURRENT&obj= ectId=3D09000001800045b9{code} > But if I immediately move it out in DM then, again, the timestamp (07:30)= alters but the file apparently remains: > {code:java} > -rw-r--r--. 1 root i2e=C2=A0 12541 Sep 19 07:21 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c0 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0 26 Sep 19 07:21 drl?versio= nLabel=3DCURRENT&objectId=3D090000018000f7be > -rw-r--r--. 1 root i2e=C2=A0=C2=A0 8790 Sep 19 07:21 drl?versionLabel=3DC= URRENT&objectId=3D090000018000f7c2 > -rw-r--r--. 1 root i2e 101888 Sep 19 07:21 drl?versionLabel=3DCURRENT&obj= ectId=3D090000018000f7c3 > -rw-r--r--. 1 root i2e=C2=A0 23040 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c1 > -rw-r--r--. 1 root i2e=C2=A0 26112 Sep 19 07:22 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7bf > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:23 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c7 > -rw-r--r--. 1 root i2e=C2=A0 32783 Sep 19 07:25 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c4 > -rw-r--r--. 1 root i2e 191513 Sep 19 07:30 drl?versionLabel=3DCURRENT&obj= ectId=3D09000001800045b9{code} > In DM, I now delete all visible content in F. The files that were moved o= ut of F, and are not visible in F in DM, remain on the file system: > {code:java} > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:23 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c7 > -rw-r--r--. 1 root i2e=C2=A0 32783 Sep 19 07:25 drl?versionLabel=3DCURREN= T&objectId=3D090000018000f7c4 > -rw-r--r--. 1 root i2e 191513 Sep 19 07:30 drl?versionLabel=3DCURRENT&obj= ectId=3D09000001800045b9 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:31 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c2 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:31 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7be > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:31 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c0 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:31 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c1 > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:31 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7bf > -rw-r--r--. 1 root i2e=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 Sep 19 07:31 drl?v= ersionLabel=3DCURRENT&objectId=3D090000018000f7c3{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)