[389-devel] Please review (take 2): [389 Project] #422: 389-ds-base - Can't call method "getText"

Noriko Hosoi nhosoi at redhat.com
Fri Dec 21 18:54:05 UTC 2012


https://fedorahosted.org/389/ticket/422

https://fedorahosted.org/389/attachment/ticket/422/0001-Ticket-422-389-ds-base-Can-t-call-method-getText.2.patch

  Bug description: If a hostname which has no corresponding IP
  address associated is given to the setup-ds-admin.pl or
  setup-ds.pl (e.g., bogus.bogus.bogus.com), then DSUtil.pm
  complains with "Can't call method "getText" on an undefined
  value".

  Fix description: Thanks to Rich for his comments.  Following
  his suggestions, this patch prepares 2 different return types
  in checkHostname depending upon the existence of the resource
  object.  If the resource is given, the subroutine returns the
  error message.  Otherwise, it returns the array of error message.



More information about the 389-devel mailing list