Alon Bar-Lev has posted comments on this change.

Change subject: engine: Import single certificate
......................................................................


Patch Set 30:

(1 comment)

http://gerrit.ovirt.org/#/c/35485/30/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/providers/ProviderModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/providers/ProviderModel.java:

Line 332:                     certificate = null;
Line 333:                     if (returnValue != null) {
Line 334:                         List<CertificateInfo> certs = 
(List<CertificateInfo>) returnValue;
Line 335:                         if (certs.size() > 0) {
Line 336:                             certificate = certs.get(0).getPayload();
> Are we guaranteed to only get one certificate? Or could we potentially get 
no, for now we trust the top level. but thanks for this comment!

this should be the last one not the first.
Line 337:                             ConfirmationModel confirmationModel =
Line 338:                                     
getImportCertificateConfirmationModel(certs.get(0));
Line 339:                             
sourceListModel.setConfirmWindow(confirmationModel);
Line 340:                             ok = true;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic9adb21ded6e6d9fb09fc68331872c1cd88f88a9
Gerrit-PatchSet: 30
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Alexander Wels <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Greg Sheremeta <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to