Containers (folders, publications) should retain the last author information
Bug #162545 reported by
Andy Altepeter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Medium
|
Kit Blake |
Bug Description
Containers need to keep the last author, and the SMI needs to show that instead of n/a (contents, publish tab, etc).
How to do this:
1) When a container is created, set the author to the creator
2) When a container's metadata is updated, update the author
3) Change the contents (and publish tab, and wherever else) screen to display the author
I think a related issue was to ensure the lastmod date is updated (and also displayed in it's column), so verify this.
4) Another feature would be to update the containers data when the index item is updated
Changed in silva: | |
assignee: | nobody → aaltepet |
importance: | Undecided → Medium |
milestone: | none → 2.1 |
Changed in silva: | |
milestone: | 2.1 → none |
Changed in silva: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This was a rather "light" change in the code. It turns out lastauthor information was already being stored for containers, but there was code to intentionially disable it for containers. This is good, since now the last author will be displayed in the author column.
I've enabled this feature, and added to the list of container actions that cause it's last author / modified date to be updated. Here's the list:
Container last author and last modified dates are updated
when objects are moved, deleted, added, pasted into the container,
when the container's metadata is modified (properties tab and settings
sub-tab), and when the container is converted to/from a publication/folder.
I've made these changes in a branch: /svn.infrae. com/Silva/ branch/ aaltepet/ Silva-Container -authors- 162545
https:/