AEM Package Manager - Restoring package to older version

Avatar

Avatar

tarkash

Avatar

tarkash

tarkash

27-07-2016

Hi,

I have observed an issue with the AEM Package Manager when I try to restore to older version of a package. Though I could see in the logs that the older package gets installed but the interface on the package manager still shows the higher package version with an "update" button that gets enabled. This leads to a bit of confusion visually as to which older version have we restored to. I mean we can see it in the logs but I suppose there can be a better way to inform the user about it.

Let me know if I am missing some step here or is it made to behave this way for some other reason.

FYI I observed this issue on AEM 6.2.

See screen shot for reference:

Here you can see that logs tell that Build-1 is getting installed. But at the end of it we can still see Build-2 in the package manager.

989487_pastedImage_1.png

View Entire Topic

Avatar

Avatar

Rashid_Jorvee

Avatar

Rashid_Jorvee

Rashid_Jorvee

01-07-2018

Hi tarkash

Package manager always show you the highest version of package. If you want to restore and install any lower version of package then you have to go to option more of package>> older versions. which will show you all older version of that package available in the package manager.

Now come to your question about behavior; behavior which you are seeing is expected, since you installed/restored the older version of same package hence log is showing the entries for older version. But it will not update the package manager and show you older version of package which you recently installed. To show and appear the older version you have to delete the higher version of package  from package manager then lower version will automatically replaced with that. Below is the screen shot which help you better to understand.

Hope this will answer your question.

package manager-rashid jorvee.JPG

Thanks!

Power of Knowledge