Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

bug: editRequiresAuthentication. field is not marked canEdit: false

$
0
0
datasource field:
Code:

<field  name="ref_task"                                                type="text"    length="255"
            title="referenza"
            editRequiresAuthentication="true"
            editRequiresRole="PA_TSK_adm">
            <validators>
                <validator  type="isUnique"
                            errorMessage= "referenza già utilizzata"/>
            </validators>     
</field>

the server removes the field from the values clause before the request is processed.

But the field is not marked canEdit: false.

same problem with viewRequiresAuthentication

Code:

<field  name="ref_task"                                                type="text"    length="255"
            title="referenza"
            viewRequiresAuthentication="true"
            viewRequiresRole="PA_TSK_adm">
            <validators>
                <validator  type="isUnique"
                            errorMessage= "referenza già utilizzata"/>
            </validators>     
</field>

SmartClient Server will not return values
but field is not marked canView:false

Viewing all articles
Browse latest Browse all 4756

Trending Articles