Maor Lipchuk has posted comments on this change.

Change subject: engine: Validate NfsTimeo and NfsRetarns
......................................................................


Patch Set 3: (2 inline comments)

....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/StorageServerConnections.java
Line 159:     public void setNfsVersion(NfsVersion nfsVersion) {
Line 160:         this.nfsVersion = nfsVersion;
Line 161:     }
Line 162: 
Line 163:     @Min(value = 0, message = 
"VALIDATION_STORAGE_CONNECTION_NFS_TIMEO")
min value should be 1 (not 0)
Line 164:     @Max(value = 6000, message = 
"VALIDATION_STORAGE_CONNECTION_NFS_TIMEO")
Line 165:     private Short nfsTimeo;
Line 166: 
Line 167:     public Short getNfsTimeo() {


....................................................
File backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
Line 633: VALIDATION_STORAGE_CONNECTION_EMPTY_VFSTYPE=VFS type cannot be empty.
Line 634: VALIDATION_STORAGE_CONNECTION_EMPTY_IQN=Target details cannot be 
empty.
Line 635: VALIDATION_STORAGE_CONNECTION_EMPTY_CONNECTION=${fieldName} field 
cannot be empty.
Line 636: VALIDATION_STORAGE_CONNECTION_NFS_RETRUNS=NFS Retarns should be 
between 0 and 32767
Line 637: VALIDATION_STORAGE_CONNECTION_NFS_TIMEO=NFS Timeo should be between 1 
and 6000
The messages are not clear to the user IMHO. What is timeo? what is retrans? 

Why not simply write "time out" and "retransmissions"?
Line 638: VALIDATION.TAGS.INVALID_TAG_NAME=Invalid tag name. Only alphanumeric 
chars, '-' and '_' characters are valid
Line 639: VALIDATION.VM_POOLS.NAME.NOT_NULL=Pool name is required
Line 640: VALIDATION.VM_POOLS.NUMBER_OF_MAX_ASSIGNED_VMS_OUT_OF_RANGE=Number of 
max assigned VMs per user must be at least 1.
Line 641: VALIDATION.ROLES.NAME.NOT_NULL=Role name is required


-- 
To view, visit http://gerrit.ovirt.org/17182
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I15d35b2547bb36d17e29c90a05854fe6f897d5d2
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: A Burden <abur...@redhat.com>
Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Eduardo <ewars...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to