Bug 1326657 - File Path should not be empty when creating File Header child resource for Logging subsystem for EAP7 plugin [NEEDINFO]
Summary: File Path should not be empty when creating File Header child resource for Lo...
Keywords:
Status: CLOSED DUPLICATE of bug 1328316
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 7
Version: JON 3.3.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ER01
: One-off release
Assignee: Ruben Vargas Palma
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-13 10:02 UTC by Vojta Prusa
Modified: 2017-06-21 21:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1326719 (view as bug list)
Environment:
Last Closed: 2017-06-05 09:08:21 UTC
Type: Bug
rvargasp: needinfo? (vprusa)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1326719 0 medium CLOSED File Path should not be empty when creating File Header child resource for Logging subsystem for EAP6 plugin 2021-02-22 00:41:40 UTC

Internal Links: 1326719

Description Vojta Prusa 2016-04-13 10:02:58 UTC
Description of problem:
When creating File Handler child resource for Logging subsystem the File path in 
Resource Create Wizard should be required not empty so it would not be possible to create resource with an empty File Path (if possible).


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


How reproducible:


Steps to Reproduce:
1) In JON UI go to Server - Top Level imports-> EAP7 standalone Servers -> EAP7 -> Subsystems -> Core -> logging -> Create Child -> File Handler ..
2) Set properties in Resource Create Wizard..
File Path property should be required for Finishing the Resource Create Wizard. 

Actual results:


Expected results:


Additional info:

Comment 5 Vojta Prusa 2017-03-28 16:50:13 UTC
Creating FileHandle for logging without setting any properties to Resource Create Wizard (step 1. with  name value: testFileHandler, step 2. all values set to null or empty ) JON's logs/server.log shows: 

12:34:42,672 INFO  [org.rhq.enterprise.server.resource.ResourceFactoryServerServiceImpl] (http-/0.0.0.0:7080-6) Received create resource response: CreateResourceResponse[RequestId=10011, Status=Failure]
 
but the only UI Message is:
A request to create a Resource with the name of [testFileHandler] has been submitted successfully. Note, it may take several minutes for the Resource to show up in inventory.

If File Path property is set resource is created successfully:
12:45:06,313 INFO  [org.rhq.enterprise.server.resource.ResourceFactoryServerServiceImpl] (http-/0.0.0.0:7080-1) Received create resource response: CreateResourceResponse[RequestId=10021, Status=Success]

I suppose log INFO message should show in UI as well for failed resource creating or it should not be possible to finish the Resource Create Wizard without setting File Path value.

No errors in logs.

Comment 7 Filip Brychta 2017-06-05 09:08:21 UTC
The issue is not visible on JON3.3.8 -> closing as duplicate of bz1328316

*** This bug has been marked as a duplicate of bug 1328316 ***


Note You need to log in before you can comment on or make changes to this bug.