LetoDMS Community Forum
Comment - current version - Printable Version

+- LetoDMS Community Forum (https://community.letodms.com)
+-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4)
+--- Forum: General Questions (https://community.letodms.com/forumdisplay.php?fid=15)
+--- Thread: Comment - current version (/showthread.php?tid=134)



Comment - current version - michaelthomsen - 08-12-2010

Hi
I think it would make more sense to have the comment associated with the latest version of a document showing in the folders content overview page, rather than the comment of the original version.


cheers
Michael


RE: Comment - current version - matteo lucarelli - 08-12-2010

The document comment corresponds to the first version comment only to speed up first insertion, but can be edited independently using the "edit document" command.

So the folders content overview page show the DOCUMENT comment, not the FIRST VERSION comment.


RE: Comment - current version - alekseyn - 08-12-2010

I think every document version deserves a comment...
keeping only one comment for all versions does not seems very practical...


RE: Comment - current version - matteo lucarelli - 08-12-2010

Every version DO have comment.

Every document DO have a comment (separate from versions ones).

The document comment is initially (on document creation) sets as the first version one.


RE: Comment - current version - michaelthomsen - 08-14-2010

Let me explain what I mean more clearly:
Comment document version 1: Needs proof reading
Comment document version 2: Section A proofed, section B needs proofing

In the folder view, the document shows that there is a version 2, but the comment is "Needs proof reading" which belongs to version 1.

In my opinion, the comment in folder view should correspond to the document version.
In the above case it should list version 2 with the comment "Section A proofed, section B needs proofing"

So, it just needs to be updated as a new comment is entered with a new version of the document.
cheers
Michael


RE: Comment - current version - matteo lucarelli - 08-16-2010

NO: the comment shown in the folder browser is the DOCUMENT comment, not the first version's one.
The DOCUMENT comment can be edited with "edit document" operation and is INITIALLY set equal to the first version's one.


RE: Comment - current version - michaelthomsen - 08-17-2010

Dear Matteo,
I think I am upsetting you! Smile
I don't think it is logical to have the document showing in the folder view then, because it is unlikely that the comment will stay the most important comment about the latest version of the document. To change it, a user will have to perform some extra steps to go in a change the document comment.

I simply think it is most logical that the comments in folder view display the latest version of the document and the corresponding comment.

This way one can quickly scan the documents and read the latest comments. Otherwise one is forced to click on a document to read the latest comment in document view.

I have attached a screen dump to illustrate what I mean in case I have not explained it well.

cheers
Michael


(08-16-2010, 03:59 PM)matteo lucarelli Wrote: NO: the comment shown in the folder browser is the DOCUMENT comment, not the first version's one.
The DOCUMENT comment can be edited with "edit document" operation and is INITIALLY set equal to the first version's one.



RE: Comment - current version - matteo lucarelli - 08-19-2010

The document comment is intended to be a general description of the document, for this reason I think this is the one to show in the folder view. Showing only the last version comment could be useless sometimes. Showing both could be too much space consuming.

At least we could make a selection button? or a settings?
Any suggestion?


RE: Comment - current version - alekseyn - 09-05-2010

matteo,

I have run into the same dilemma as Michael... for the users it is really not obvious that the comment for the document is showing in the folder view...
So i get many questions and quite frankly, Michael's idea fits the purpose of my DMS too.

it really is not obvious for users, because the initial comment always shows up near the rev 1... and there is no such separately shown area as rev 1 comment AND document comment...

is there an easy fix to show not the document comment but the version comment in the folder view?
(09-05-2010, 10:59 PM)alekseyn Wrote: is there an easy fix to show not the document comment but the version comment in the folder view?

found the easy fix for those who might need it. This hack was checked with version 2.0.

in file out.ViewFolder.php

find

foreach($documents as $document) {

and replace this code below
Code:
    $owner = $document->getOwner();
    $comment = $document->getComment();
    if (strlen($comment) > 50) $comment = substr($comment, 0, 47) . "...";
    $docID = $document->getID();
    $latestContent = $document->getLatestContent();
    $version = $latestContent->getVersion();
    $status = $latestContent->getStatus();

with this code
Code:
    $owner = $document->getOwner();
    $latestContent = $document->getLatestContent();
    $comment = $latestContent->getComment();
    if (strlen($comment) > 50) $comment = substr($comment, 0, 47) . "...";
    $docID = $document->getID();
    $version = $latestContent->getVersion();
    $status = $latestContent->getStatus();