struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Egidijus (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4284) Type conversion for map with lists calls several taim set
Date Thu, 06 Feb 2014 15:04:09 GMT
Egidijus created WW-4284:
----------------------------

             Summary: Type conversion for map with lists calls several taim set
                 Key: WW-4284
                 URL: https://issues.apache.org/jira/browse/WW-4284
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.3.15.1
            Reporter: Egidijus


I have setter in struts action:

setChangedPermissions(Map<String, String[]> changedPermissions) {
...
}

Passed properties are similar

changedPermissions.SITE=300:1
changedPermissions.SITE=100:0
changedPermissions.LANGUAGE=en:1
changedPermissions.LANGUAGE=ru:1

Expecting to get filled Map following (KEY-> {value1, value2}):

SITE->(300:1,100:0) 
LANGUAGE->(en:1,ru:1) 

Method 'setChangedPermissions' is called several time. Each call passes separate map and later
fills with single 'key' value.

I expect that 'setChangedPermissions' should be called single time and map filled with all
values at once.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message