[ 
https://issues.apache.org/jira/browse/OFBIZ-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504267
 ] 

Krzysztof Podejma commented on OFBIZ-1041:
------------------------------------------

i.e. in crmsfa in  viewprofile.ftl you have 
            <#if (partyContactMech.allowSolicitation?default("") == 
"Y")><#assign solicit = uiLabelMap.CommonYes></#if>
            <#if (partyContactMech.allowSolicitation?default("") == 
"N")><#assign solicit = uiLabelMap.CommonNo></#if>
so if this field don't have values from (Y,N) nothing is displayed

second example is marketing list with emails and choosing email address by this 
field 

having this field with set of values Y,N,"" is good for system to indicate 
whether it is exactly YES or NOT
if you have multilingual employees that use russian (D,N) polish (T,N), english 
(Y,N)
set of those values will be D,T,Y,N so system will not be able to indicate what 
is YES and what is NOT




> various values in allowSolicitation variable  break some screens
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-1041
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1041
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Krzysztof Podejma
>            Assignee: Si Chen
>            Priority: Minor
>             Fix For: SVN trunk, Release Branch 4.0
>
>         Attachments: allowSolicitation.patch
>
>
> in contact forms field allowSolicitation is set to uiLabelMap.CommonY or 
> uiLabelMap.CommonN.
> it would be a good idea to force this value to Y or N because it is confusing 
> if you use more than one language
> additionaly different values break forms in other apps like crmsfa
> please see my patch
> Krzysztof Podejma

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to