Hi Omindu, As per the offline discussion we had yesterday, it looks like after the initial backup of the jars into patch0000, it does not backup the new jars which are installed via features. In-order to revert the jar, you would need to download the jar (from the feature) and copy it to the plugins directory. Please create a JIRA for this in Kernal.
Regards, Nira On Thu, Sep 8, 2016 at 11:16 AM, Omindu Rathnaweera <omi...@wso2.com> wrote: > Yeah. SP1 was there. > > On Thu, Sep 8, 2016 at 8:19 AM, Harsha Thirimanna <hars...@wso2.com> > wrote: > >> Did you apply any patches before you install the feature ? As you said, >> it may be a bug. >> >> On Sep 8, 2016 12:23 AM, "Omindu Rathnaweera" <omi...@wso2.com> wrote: >> >>> Hi, >>> >>> Noticed that we cannot revert a patch if the particular jar is not in >>> the patch0000 directory. Assume that we install a feature to a product >>> which already has the patch0000 directory created. Then, we patch one of >>> the jars in that new feature, and later on we remove that patch from the >>> patches directory. The plugins directory will still have the patched jar >>> even if the patch is removed. I assume this is because the new jars related >>> to the feature is not getting copied to patch0000 during feature >>> installation. >>> >>> In my case I installed the FB authenticator to IS 5.0.0 + SP1 applied >>> and patched the authenticator. To revert the patch I had to copy the old >>> jar to the plugins directory. Even reinstalling the feature didn't restore >>> the jar. >>> >>> Not sure if it's a buggy behavior, if not is there an alternative way to >>> revert it ? >>> >>> Thanks, >>> Omindu. >>> >>> -- >>> Omindu Rathnaweera >>> Software Engineer, WSO2 Inc. >>> Mobile: +94 771 197 211 >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> > > > -- > Omindu Rathnaweera > Software Engineer, WSO2 Inc. > Mobile: +94 771 197 211 > -- *Niranjan Karunanandham* Associate Technical Lead - WSO2 Inc. WSO2 Inc.: http://www.wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev