Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D1857696 for ; Tue, 29 Nov 2011 14:45:25 +0000 (UTC) Received: (qmail 97231 invoked by uid 500); 29 Nov 2011 14:45:25 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 97169 invoked by uid 500); 29 Nov 2011 14:45:25 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 97162 invoked by uid 99); 29 Nov 2011 14:45:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 14:45:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2011 14:45:23 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C728723889D7; Tue, 29 Nov 2011 14:45:03 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1207888 - /sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java Date: Tue, 29 Nov 2011 14:45:03 -0000 To: commits@sling.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111129144503.C728723889D7@eris.apache.org> Author: cziegeler Date: Tue Nov 29 14:45:02 2011 New Revision: 1207888 URL: http://svn.apache.org/viewvc?rev=1207888&view=rev Log: SLING-2290 : Updating a fragment with a different version but the same content does not work Modified: sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java Modified: sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java URL: http://svn.apache.org/viewvc/sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java?rev=1207888&r1=1207887&r2=1207888&view=diff ============================================================================== --- sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java (original) +++ sling/trunk/installer/core/src/main/java/org/apache/sling/installer/core/impl/tasks/BundleUpdateTask.java Tue Nov 29 14:45:02 2011 @@ -104,6 +104,7 @@ public class BundleUpdateTask extends Ab } else { this.getResource().setAttribute(BundleTaskCreator.ATTR_START, "true"); ctx.addTaskToCurrentCycle(new BundleStartTask(this.getResourceGroup(), b.getBundleId(), this.getCreator())); + ctx.addTaskToCurrentCycle(new SynchronousRefreshPackagesTask(this.getCreator())); } } else { this.setFinishedState(ResourceState.INSTALLED);