Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A6CC1200BC6 for ; Sun, 20 Nov 2016 21:32:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A5758160B07; Sun, 20 Nov 2016 20:32:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EEF45160AFE for ; Sun, 20 Nov 2016 21:32:02 +0100 (CET) Received: (qmail 32405 invoked by uid 500); 20 Nov 2016 20:31:59 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 32108 invoked by uid 99); 20 Nov 2016 20:31:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2016 20:31:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 98BE42C0073 for ; Sun, 20 Nov 2016 20:31:58 +0000 (UTC) Date: Sun, 20 Nov 2016 20:31:58 +0000 (UTC) From: "Stefan Seelmann (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DIRSERVER-2104) Renaming an entry which uses a SINGLE-VALUE attribute in the RDN fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 20 Nov 2016 20:32:03 -0000 [ https://issues.apache.org/jira/browse/DIRSERVER-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seelmann updated DIRSERVER-2104: --------------------------------------- Fix Version/s: (was: 2.0.0-M23) 2.0.0-M24 > Renaming an entry which uses a SINGLE-VALUE attribute in the RDN fails > ---------------------------------------------------------------------- > > Key: DIRSERVER-2104 > URL: https://issues.apache.org/jira/browse/DIRSERVER-2104 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 2.0.0-M20 > Reporter: Emmanuel Lecharny > Fix For: 2.0.0-M24 > > > There is a test ({{LdifPartitionTest.testLdifRenameAndRetainOldDN}}) that does a rename, trying to keep the old RDN present : > {code} > Rdn newRdn = new Rdn( "dc=renamedChild1" ); > RenameOperationContext renameOpCtx = new RenameOperationContext( session, childDn1, newRdn, false ); > partition.rename( renameOpCtx ); > ... > // the renamed LDIF must contain the old an new Rdn attribute > String content = FileUtils.readFileToString( new File( wkdir, "ou=test,ou=system/dc=renamedchild1.ldif" ) ); > assertTrue( content.contains( "dc: child1" ) ); > assertTrue( content.contains( "dc: renamedchild1" ) ); > {code} > The past passes green which is really problematic : the {{DC}} AttributeType is supposed to be SINGLE-VALUE !!! > {code} > attributetype ( 0.9.2342.19200300.100.1.25 NAME ( 'dc' 'domainComponent' ) > DESC 'RFC1274/2247: domain component' > EQUALITY caseIgnoreIA5Match > SUBSTR caseIgnoreIA5SubstringsMatch > SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 > SINGLE-VALUE > USAGE userApplications > ) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)