Hi Nira,

Created the JIRA [1] as requested.

[1] - https://wso2.org/jira/browse/CARBON-16047

Regards,
Omindu.

On Thu, Sep 8, 2016 at 12:01 PM, Niranjan Karunanandham <[email protected]>
wrote:

> 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 <[email protected]>
> wrote:
>
>> Yeah. SP1 was there.
>>
>> On Thu, Sep 8, 2016 at 8:19 AM, Harsha Thirimanna <[email protected]>
>> 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" <[email protected]> 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
>>>> [email protected]
>>>> 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
>
>


-- 
Omindu Rathnaweera
Software Engineer, WSO2 Inc.
Mobile: +94 771 197 211
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to