Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0018186Openbravo ERPA. Platformpublic2011-08-03 18:092012-01-25 19:15
shuehner 
marvintm 
normalminorhave not tried
closedfixed 
5
 
3.0MP8 
Core
No
0018186: Replacing an attachment does not update 'updated' of c_file
Replacing an attachment does not affect the 'xx minutes ago' message seen by the user. It only shows the time since the first upload.

Probably when replacing the file/attachment with a different one that message should reflect and show the time since the last modification.

Note: the ui-code is already written like this. However updated column of c_file does not change in that case.

Note2: Same problem might occour with updatedBy column so ui does not mention user of the changed file but only the initial upload
Goto product window
attach a file to a record
wait 10 minutes
Note that attachment section shows '10 minutes ago by ...'
add new attachment to same record with same 'local' filename
confirm replace attachment dialog
note that attachment section still shows '10 minutes ago' and does not reflect the update
No tags attached.
Issue History
2011-08-03 18:09shuehnerNew Issue
2011-08-03 18:09shuehnerAssigned To => marvintm
2011-08-03 18:09shuehnerModules => Core
2012-01-17 12:12hgbotCheckin
2012-01-17 12:12hgbotNote Added: 0044423
2012-01-17 12:12hgbotStatusnew => resolved
2012-01-17 12:12hgbotResolutionopen => fixed
2012-01-17 12:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/774fb449cb26a0846b4c021da8f4d6f6bfa74ac4 [^]
2012-01-18 14:22hudsonbotCheckin
2012-01-18 14:22hudsonbotNote Added: 0044437
2012-01-25 19:15dbazNote Added: 0044590
2012-01-25 19:15dbazStatusresolved => closed
2012-01-25 19:15dbazFixed in Version => 3.0MP8

Notes
(0044423)
hgbot   
2012-01-17 12:12   
Repository: erp/devel/pi
Changeset: 774fb449cb26a0846b4c021da8f4d6f6bfa74ac4
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Jan 17 12:11:21 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/774fb449cb26a0846b4c021da8f4d6f6bfa74ac4 [^]

Fixed issue 18186. Attachments audit info (updated and updatedby) will be updated when a file is replaced.

---
M src/org/openbravo/erpCommon/businessUtility/TabAttachments.java
---
(0044437)
hudsonbot   
2012-01-18 14:22   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0035a0985219 [^]

Maturity status: Test
(0044590)
dbaz   
2012-01-25 19:15   
Reviewed @ changeset 15228 - 440693e24fec