Bug 1299830

Summary: Open several file types, such as .json, from Repository View not working
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jeremy Lindop <jlindop>
Component: Business CentralAssignee: manstis
Status: CLOSED NOTABUG QA Contact: Lukáš Petrovický <lpetrovi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-26 09:55:39 UTC 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 Jeremy Lindop 2016-01-19 11:04:45 UTC
Description of problem:
When the Project Explorer is showing the Repository View and you browse to a file such as a .json file then try to open it, instead of the file being opened in an appropriate editor or viewer, a page for uploading files is opened. This happens for .json, .gif, .png files, and other file types as well.

Version-Release number of selected component (if applicable):
bpms-6.2.0.GA

Steps to Reproduce:
1. Login to Business Central and go to Project Authoring
2. Create or open a Business Process at this point, as this causes some files to be created in a project folder called 'global'
3. Select "Repository View" in the Project Explorer
4. Go to the folder '/global' in the project
5. Click on a .json file e.g. "customeditors.json", or a .png / .gif file
6. Instead of file being opened in an editor or viewer, a page opens which is for uploading or downloading files.

Actual results:
The file should be opened in an appropriate editor or viewer

Expected results:
A file upload / download page is opened

Additional info:

Comment 2 manstis 2016-01-26 09:55:39 UTC
This is entirely by design. BxMS doesn't have any editors for JSON, GIF, PNG etc so it routes to a screen that allows you to download the file and upload new versions. Closing as this is not a bug. If you'd like, for an example, BxMS to include a PNG/GIF etc "viewer" I'd think it should be the subject of a RFE.