Bug 784902

Summary: Uploading file doesn't refresh the asset
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: manstis
Status: VERIFIED --- QA Contact: Jiri Locker <jlocker>
Severity: low Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: lpetrovi, manstis
Target Milestone: ---   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When uploading a new asset file, the asset was not updated and could not be saved until the asset had been closed and reopened, meaning that users lost any changes they had applied to the asset. This has been corrected so that the assets is closed and reopened after it has been checked in, ensuring users are able to save any further changes they make.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Locker 2012-01-26 15:42:01 UTC
Description of problem:
After uploading a file (e.g. xml, properties, maybe other types) the new content is not displayed, updated asset version and check-in comment is not displayed either. User needs to close the asset and open it again to get updated view.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. open or create a file asset with properties or xml format
2. upload a new file
3. File uploaded successfully is displayed, but the new content is not visible until reopening the asset.
  
Actual results:


Expected results:
After uploading new version of the file, asset should refresh to show the updated content.

Additional info:
see also GUVNOR-1316

Comment 1 JBoss JIRA Server 2012-01-26 17:14:29 UTC
Michael Anstis <michael.anstis> updated the status of jira GUVNOR-1316 to Coding In Progress

Comment 2 JBoss JIRA Server 2012-01-26 19:16:14 UTC
Michael Anstis <michael.anstis> updated the status of jira GUVNOR-1316 to Open

Comment 3 JBoss JIRA Server 2012-01-26 19:16:48 UTC
Michael Anstis <michael.anstis> updated the status of jira GUVNOR-1316 to Resolved

Comment 4 JBoss JIRA Server 2012-01-26 19:16:48 UTC
Michael Anstis <michael.anstis> made a comment on jira GUVNOR-1316

Moved "Notification bar" as I had suggested (and tarted up a little).

Comment 5 manstis 2012-01-26 20:26:50 UTC
This has been fixed in master but not backported as it has not been agreed (yet) to be in 5.3.x. Please be sure to let me know if you want it 5.3.x and I can backport.

Comment 7 manstis 2012-01-30 11:22:12 UTC
Back-ported to 5.3.x.

Comment 8 Ryan Zhang 2012-02-15 09:13:00 UTC
Please verify the issue on 5.3 ER4.

Comment 10 lcarlon 2012-06-01 04:52:32 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When uploading a new asset file, the asset was not updated and could not be saved until the asset had been closed and reopened, meaning that users lost any changes they had applied to the asset. This has been corrected so that the assets is closed and reopened after it has been checked in, ensuring users are able to save any further changes they make.