Skip navigation
Robert Frunzke
Currently Being Moderated

Bug Report on deleting folders in AD 5.0.1

Nov 14, 2013 11:32 AM

Hello,

 

while working on my connector, I found a bug, it is a quite obvious thing:

 

When AD is requested to delete a folder, it will recursively try to delete its children first. While doing this, it will call the "execute()" method of the registered "GetChildrenHandler".

 

But, otherwise than in all other occasions, it does not provide an IProgressMonitor instance, but provides just null.

 

So, my GetChildrenHandler::execute() implementation must check whether monitor is null, before use.

 

That conflicts with the expected agreement, and breaks code. If the IProgressMonitor could be null in any handler call, then I would have to lard my code with many "if( monitor!=null ) .." cases. That does not sound much sensible.

 

 

Regards,

Robert

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points