Tal Nisan has posted comments on this change. Change subject: webadmin: Warn when importing a data domain to a DC that doesn't support ......................................................................
Patch Set 4: (3 comments) http://gerrit.ovirt.org/#/c/36328/4/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/ImportStorageModelBehavior.java File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/ImportStorageModelBehavior.java: Line 88 Line 89 Line 90 Line 91 Line 92 > Are you sure you can ignore this isItemsContainDataDomains() check? In what Yeah, the items are added only in the initialize method which is called once http://gerrit.ovirt.org/#/c/36328/4/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModel.java File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageModel.java: Line 348 Line 349 Line 350 Line 351 Line 352 > You seem to have duplicated a lot of the code in the two behavior subclasse I actually thought about it but it seemed a but overkill to me, will ask Daniel on his opinion http://gerrit.ovirt.org/#/c/36328/4/frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIConstants.java File frontend/webadmin/modules/uicompat/src/main/java/org/ovirt/engine/ui/uicompat/UIConstants.java: Line 227: Line 228: @DefaultStringValue("Data Center is uninitialized, in order to initialize add a data domain") Line 229: String dataCenterUninitializedAlert(); Line 230: Line 231: @DefaultStringValue("Data Center compatibility version does not support importing a data domain with it's entities. The imported domain will be imported without them.") > This needs to be "its", not "it's". Possessive apostrophe isn't used with " Correct, done Line 232: String dataCenterDoesntSupportImportDataDomainAlert(); Line 233: Line 234: Line 235: @DefaultStringValue("The selected domain already has an ISO domain and an export domains attached") -- To view, visit http://gerrit.ovirt.org/36328 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I79e57dc3d2bcc8a3efb717f0261d9ca66636b463 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Tal Nisan <tni...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Lior Vernia <lver...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Tal Nisan <tni...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches