Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Liferay 6.1.x Docs & Media How to delete version in Version History Davide N. P. Rossi 20 de abril de 2012 7:52
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Hitoshi Ozawa 22 de abril de 2012 6:51
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Davide N. P. Rossi 23 de abril de 2012 7:54
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Alexander Chow 23 de abril de 2012 16:15
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Hitoshi Ozawa 23 de abril de 2012 20:05
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Davide N. P. Rossi 24 de abril de 2012 2:11
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Alexander Chow 24 de abril de 2012 2:44
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Ravi Kumar Gupta 24 de abril de 2012 2:48
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Hitoshi Ozawa 24 de abril de 2012 5:52
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Ravi Kumar Gupta 24 de abril de 2012 6:48
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Hitoshi Ozawa 24 de abril de 2012 7:16
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Ravi Kumar Gupta 24 de abril de 2012 10:52
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Hitoshi Ozawa 24 de abril de 2012 14:47
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Ravi Kumar Gupta 25 de abril de 2012 2:48
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Davide N. P. Rossi 24 de abril de 2012 3:06
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Alexander Chow 24 de abril de 2012 3:28
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Davide N. P. Rossi 24 de abril de 2012 3:50
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Alexander Chow 26 de abril de 2012 5:49
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Hitoshi Ozawa 26 de abril de 2012 5:52
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Alexander Chow 26 de abril de 2012 5:58
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Davide N. P. Rossi 27 de abril de 2012 3:58
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Alexander Chow 27 de abril de 2012 4:00
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Davide N. P. Rossi 27 de abril de 2012 4:22
RE: Liferay 6.1.x Docs & Media How to delete version in Version History Davide N. P. Rossi 26 de abril de 2012 5:56
Davide N. P. Rossi
Liferay 6.1.x Docs & Media How to delete version in Version History
20 de abril de 2012 7:52
Respuesta

Davide N. P. Rossi

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 3 de julio de 2010

Mensajes recientes

Hi to all,
In liferay 6.0.x and previous versions, in Document Library one could navigate through Version History select a Version, maybe an old useless one and delete it. This functionality seems not to exist or work in 6.1.x version.
In 6.0 there is a delete bin button on the right to delete version.
In 6.1 there is no delete button.
Clicking on the lens button you select the version that will appear as eg Lifery.odt (Version 1.1)
Clicking the delete button will delete the whole document and not just the selected Version.
Added image attacments for reference.
Look like a bug???
I will copy htis to issues....
Adjunto

Adjunto

Adjunto

archivos adjuntos: liferay60versionhistory.png (12,7k), liferay61versionhistory.png (12,4k), liferay61versionselected.png (16,1k)
Hitoshi Ozawa
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
22 de abril de 2012 6:51
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Yes, this is definitely a bug. Please create a jira issue for it.
Davide N. P. Rossi
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
23 de abril de 2012 7:54
Respuesta

Davide N. P. Rossi

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 3 de julio de 2010

Mensajes recientes

Done!!! ISSUE LPS-26863
Alexander Chow
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
23 de abril de 2012 16:15
Respuesta

Alexander Chow

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 519

Fecha de incorporación: 19 de julio de 2005

Mensajes recientes

Interestingly enough, in our development branch of 6.1, this was removed in lieu of a revert functionality (see LPS-14260). However, when the new UI was put in, this seemed to have been accidentally dropped.

Is there a particular business reason why you need to be able to delete a particular version? Or is the revert functionality sufficient? I think for most cases, revert should do the job. Is this not correct?
Hitoshi Ozawa
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
23 de abril de 2012 20:05
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

I wanted to archive or delete very old versions to save space. As it is now, liferay will just keep adding new versions and after many years, it's just going to using more space. This is especially true when the file size if very large. What I needed and from the forum, what other users wants is a way to purge/archive old versions.
Davide N. P. Rossi
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 2:11
Respuesta

Davide N. P. Rossi

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 3 de julio de 2010

Mensajes recientes

Hi Alexander,
File size is one of the main reasons for deleting old, unused documents and with no reason for reverting. Some documents are edited and republished continually also with small, and many times, useless changes. It does happen because of many inexperienced users and cleaning up (delete-purge) is a need.
In any case i really don't see the reason not to have both reverting and deleting. Delete was already there!!!
My very personal philosophy is Add and don't remove existing functionalities?
Alexander Chow
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 2:44
Respuesta

Alexander Chow

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 519

Fecha de incorporación: 19 de julio de 2005

Mensajes recientes

So, part of the rationale for making that change in the first place was that, versioning provides a history of what has been done to a given file. It serves the purpose of a kind of pseudo-audit trail. Another reason is this is something you cannot do in mounted repositories (though, of course, we can block that functionality for mounted repositories but allow it for Liferay's internal system).

Personally, I don't find the argument of "saving space" all too compelling because if you are manually going in and deleting specific versions of select files just to save space, you have other problems. This really should either be (1) automated (which, of course, doesn't exist in 6.1) or (2) upgrade your hardware.

My very personal philosophy is Add and don't remove existing functionalities?

While in general, I would probably agree with this, there are times in which redundant or problematic functionalities should be removed. Whether this is one of those cases, I'm not 100% convinced yet.
Ravi Kumar Gupta
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 2:48
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1137

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

Can we not have a portlal property that defines to let users delete or not. That way, sites which want users to let delete the specific versions, can allow to do so. And where auditing is so needed, they can restrict using just one property.

??
Davide N. P. Rossi
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 3:06
Respuesta

Davide N. P. Rossi

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 3 de julio de 2010

Mensajes recientes

Alexander all you mention is very clear.

Not all people that will use liferay will grasp all rules to keep documents and media in clean and orderly manner.
Has anyone ever tried to teach file naming conventions to groups of poeple that only know how to write a document in word. Well it works for a while but suddenly this appears: This is "the name of a file" 04/2012 (but with some stuff) -in.it.jpg
Then admin, tech support or whatever is called, usually me.. My file does not work! Sigh,sob,sob!!! I can't send it. I cant save it on the server. I get error messages.
I'd kill at that point, but no, I just explain all over again until next time.
Easy things look tough to many.
This is the same issue I have found forming people to use different non mounted repositories, "php stuff" emoticon in the past.

My very personal philosophy is Add and don't remove existing functionalities?

While in general, I would probably agree with this, there are times in which redundant or problematic functionalities should be removed.


I also agree with that, but don't see redundancy, nor problem here.
Not all will use other mounted repositories with auditing capabilities and liferay document and media technology is improving continuously so more will just use that (great, great job). emoticon
Alexander Chow
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 3:28
Respuesta

Alexander Chow

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 519

Fecha de incorporación: 19 de julio de 2005

Mensajes recientes

Yes, so the deleting of unnecessary files becomes important. This can of course be blocked with permissions if you don't want somebody to delete a file version.

Davide Rossi:

My very personal philosophy is Add and don't remove existing functionalities?

While in general, I would probably agree with this, there are times in which redundant or problematic functionalities should be removed.


I also agree with that, but don't see redundancy, nor problem here.
Not all will use other mounted repositories with auditing capabilities and liferay document and media technology is improving continuously so more will just use that (great, great job). emoticon


You know, flattery will get you no where. Well, it might. emoticon

FYI, I'm waiting to hear back from our internal product management about this.
Davide N. P. Rossi
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 3:50
Respuesta

Davide N. P. Rossi

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 3 de julio de 2010

Mensajes recientes

Tried all my cards...... (more hidden ones to come) Bet you knew!!! You past it on...emoticon
Will wait for internal product management too...

Thank you!!!
Hitoshi Ozawa
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 5:52
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

What I've implemented is a property to specify how many versions to keep.
-1: do not archive/delete
0: do not keep history
1... : number of versions to keep. Archive/delete from older version

I think this requirement were brought up by other people in the forum before and I think some us have already implemented it.
Ravi Kumar Gupta
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 6:48
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1137

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

What did you do for that Hitoshi, a hook? If possible, can that be contributed?
Hitoshi Ozawa
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 7:16
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

No. I have a Japanese version of Liferay with all requirements need by Japanese users.
I'm adding hooks and ext plugin to this version to customize for each of my installation.

I'm not just adding features, but I'm also deleting unnecessary features. Liferay.com didn't want it and was taking too much arguing about which feature and how to implement them. I'm working on a tight schedule and don't have too much time waiting for them. I think it's the same for many developers here too.

A simple way to implement this feature was posted in the forum before. I think there was a version which has a bug that caused an error when there were more than 10 versions.
Ravi Kumar Gupta
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 10:52
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1137

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

This is good.. really good.. creating a different version of software while keeping just the features which are needed.

I was just curious to know how one did it.. not in my requirements though. I will find and check that post emoticon

-Ravi
Hitoshi Ozawa
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
24 de abril de 2012 14:47
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

This is good.. really good.. creating a different version of software while keeping just the features which are needed.


Keeps support calls to a minimum and it actually increases end users' satisifaction. Some people are just tester and like to test features
even though they'll never really use them. Keep those calls to a minimum and increase time to spend of features users really needs.

I seems Liferay.com is becoming to large when people have to "convince" to internal developers to get necessary features implemented.
Ravi Kumar Gupta
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
25 de abril de 2012 2:48
Respuesta

Ravi Kumar Gupta

Ranking: Liferay Legend

Mensajes: 1137

Fecha de incorporación: 23 de junio de 2009

Mensajes recientes

I did propose that in my previous organization but never put hands on it. Will try to do it. Keeping minimal features, just the required one. Hope that will bring something good out of it. Should I need any help, will ping you emoticon

Thanks for pointing that out again.
-Ravi
Alexander Chow
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
26 de abril de 2012 5:49
Respuesta

Alexander Chow

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 519

Fecha de incorporación: 19 de julio de 2005

Mensajes recientes

In case you haven't noticed on the ticket, revert + delete file version is going through final review and should be in the next releases of 6.1.

Thanks for your patience!

Alex
Hitoshi Ozawa
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
26 de abril de 2012 5:52
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

That's great news Alexander! Will be looking forward to it. Will this be the one due next month?
Davide N. P. Rossi
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
26 de abril de 2012 5:56
Respuesta

Davide N. P. Rossi

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 3 de julio de 2010

Mensajes recientes

Alexander,
noticed and appreciated lots...
Following ticket carefully...
Thank you!
Davide
Alexander Chow
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
26 de abril de 2012 5:58
Respuesta

Alexander Chow

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 519

Fecha de incorporación: 19 de julio de 2005

Mensajes recientes

@Hitoshi, I would expect so.
Davide N. P. Rossi
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
27 de abril de 2012 3:58
Respuesta

Davide N. P. Rossi

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 3 de julio de 2010

Mensajes recientes

Alexander and team, thanks...
Tested latest git... Works great...
Delete and revert are there in "nifty" new popup menu...
have to understand how revert works though...
Revert should mean to return to previous state doesn't it???
Because now revert is shown in popup menus starting from first 1.0 upward and last one (say 1.5) does not have revert.
When one clicks on revert (say 1.4) a new 2.0 version is created.
Can someone explain revert functionality in liferay???
Will read previous posts to find more info in any case...
Thanks again for great work.
Alexander Chow
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
27 de abril de 2012 4:00
Respuesta

Alexander Chow

LIFERAY STAFF

Ranking: Liferay Master

Mensajes: 519

Fecha de incorporación: 19 de julio de 2005

Mensajes recientes

So, if you have a file with say versions 1.0, 1.1, 1.2, … 1.5. Reverting makes the latest version have the same data as an earlier version. So, you can back to revert 1.0-1.4. There is no point in reverting back to 1.5… because it already is 1.5.
Davide N. P. Rossi
RE: Liferay 6.1.x Docs & Media How to delete version in Version History
27 de abril de 2012 4:22
Respuesta

Davide N. P. Rossi

Ranking: Junior Member

Mensajes: 55

Fecha de incorporación: 3 de julio de 2010

Mensajes recientes

So, if you have a file with say versions 1.0, 1.1, 1.2, … 1.5. Reverting makes the latest version have the same data as an earlier version. So, you can back to revert 1.0-1.4. There is no point in reverting back to 1.5… because it already is 1.5.


Wow that was fast!!!

Ok, made and attached a screenshot to show deleted 1.0 (also deleted 1.5, 1.4)
reverted 1.2 that became latest therefor 2.0

Thank you for clarity...
Adjunto

archivos adjuntos: version-history-working.png (30,9k)