Red Hat Bugzilla – Bug 996880
Project screen: Source not working
Last modified: 2016-07-31 21:07:55 EDT
Created attachment 786445 [details]
Description of problem:
In the Project screen, you are offered the option to view the Project Setting source (pom.xml I expect) and the Knowledge Base Settings source (I'd expect kmodule.xml). Neither of the two are working. The screen shows the same thing as before.
In the screenshot, you can see I opened the GAV option and then tried switching to the source. No source showed up.
Version-Release number of selected component (if applicable):
kie-wb 6.0 CR1
The reason why Source was an option in the Project Editor is that we needed a way to be able to edit the source file. Now that I have thought about this. It feels risky to allow hard editing the file to everybody who can open the Project Editor.
So what I did was. I removed the Source options for both pom.xml and kmodule.xml. Now if you want to hard edit them, this can be done clicking the pom.xml or kmodule.xml file in admin perspective or using the technical view in the Project Explorer.
This also removes the duplicate editors we had for these two files and the confusion that they have caused. Since opening the pom.xml for example used to open a stripped down read only view of the Project Editor. We have had few people asking where the other editing options or the ability to save went.
Verified in ER4: the Source view is gone form the Project Screen, functionality available as per comment 1.