Bug 1251542
| Summary: | [GSS](6.4.z) Outbound-socket details not rendered in admin console if ports use expressions | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Lami Akagwu <lakagwu> |
| Component: | Web Console | Assignee: | Bartek Spyrko-Smietanko <bspyrkos> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Jelinek <pjelinek> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.4.2 | CC: | bmaxwell, brian.stansberry, bspyrkos, hbraun, hpehl, istudens, jkudrnac, pjelinek |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-17 10:47:57 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: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1235744, 1247280 | ||
Upstream issue: https://issues.jboss.org/browse/HAL-788 PR for 2.5.x: https://github.com/hal/core/pull/56 Harald Pehl <hpehl> updated the status of jira HAL-788 to Resolved Merged PR into 2.5.x: https://github.com/hal/core/pull/56 Verified for EAP 6.4.4.CP.CR3. Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. |
Description of problem: No outbound socket details are visible if any of the ports uses an expression Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Change <outbound-socket-binding name="mail-smtp"> <remote-destination host="localhost" port="25"/> </outbound-socket-binding> To **replacing port="25" with port="${app.smtp:25}" i.e an expression <outbound-socket-binding name="mail-smtp"> <remote-destination host="localhost" port="${app.smtp:25}"/> </outbound-socket-binding> 2. View the the "outbound remote" tab in http://localhost:9990/console/App.html#socket-bindings 3. The mail-smtp outbound socket is no longer is visible in the console. 4. Snippet from trace logs ------ 16:2516:25:44,607 TRACE [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 2) Executing "read-children-resources" [("socket-binding-group" => "standard-sockets")] 16:25:44,609 TRACE [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 3) Executing "read-children-resources" [("socket-binding-group" => "standard-sockets")] :44,617 TRACE [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 3) Prepared response is { "outcome" => undefined, "result" => {"mail-smtp" => { "fixed-source-port" => false, "host" => "localhost", "port" => expression "${app.smtp:25}", "source-interface" => undefined, "source-port" => undefined }} } ------ Actual results: No outbound socket config is visible if *any* of them uses an expression for its ports Expected results: Outbound socket config should be visible via the admin console if any of the attributes use expressions Additional info: You can test adding one outbound socket which uses no expressions and then another one which uses an expression for its ports. Same results i.e nothing rendered in the admin console.