[
https://issues.apache.org/jira/browse/WW-5192?focusedWorklogId=788734&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788734
]
ASF GitHub Bot logged work on WW-5192:
--------------------------------------
Author: ASF GitHub Bot
Created on: 07/Jul/22 19:35
Start Date: 07/Jul/22 19:35
Worklog Time Spent: 10m
Work Description: lukaszlenart opened a new pull request, #577:
URL: https://github.com/apache/struts/pull/577
Fixes [WW-5192](https://issues.apache.org/jira/browse/WW-5192)
Issue Time Tracking
-------------------
Worklog Id: (was: 788734)
Remaining Estimate: 0h
Time Spent: 10m
> radiomap.ftl not setting enum key values
> ----------------------------------------
>
> Key: WW-5192
> URL: https://issues.apache.org/jira/browse/WW-5192
> Project: Struts 2
> Issue Type: Bug
> Components: Core Tags
> Affects Versions: 6.0.0
> Reporter: Burton Rhodes
> Priority: Major
> Fix For: 6.0.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The simple/radiomap.ftl will not "check" a radio value if the key is of type
> enum. The comparison line should test the itemKeyStr and not itemKey to fix
> this
>
> Current
> {code:java}
> <#if tag.contains(parameters.nameValue!'', itemKey)>
> checked="checked"<#rt/>
> </#if> {code}
> Fix
> {code:java}
> <#if tag.contains(parameters.nameValue!'', itemKeyStr)>
> checked="checked"<#rt/>
> </#if> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)