Bug #1945
closed
  
Exception thrown out when unsetInterestFilter
 
        
        Added by Yingdi Yu about 11 years ago.
        Updated about 11 years ago.
        
  
  
  
  Description
  
  An ndn::nfd::ControlCommand::ArgumentError is thrown out when unsetting a interestFilter which has been successfully set previously. 
Error msg is: Flags is forbidden but present.
How to reproduce: 
$ ./build/integrated-tests -t TestFaces/RegisterUnregisterPrefix
   
 
 
  
  
    
    
    
    
       - Status changed from New to Code review
 
       - Assignee set to Alex Afanasyev
 
       - Target version set to v0.3
 
       - % Done changed from 0 to 100
 
    
    Shall we release a patch for that to 0.2 branch too?
 
     
   
  
  
    
    
    
    
       - Status changed from Code review to Feedback
 
    
    I'll keep this open until I get feedback about note-1
 
     
   
  
  
    
    
    
    I'm not aware of any apps using unsetInterestFilter, so this patch doesn't need to be backported.
If anyone wants to use this, they can run v0.3 branch.
 
     
   
  
  
    
    
    
    At least ChronoChat application uses that and there could be others coming.  Given the solution is kind of simple, I would create 0.2.1 minor release at some point in near future.
 
     
   
  
  
    
    
    
    
       - Status changed from Feedback to Closed
 
    
    Binary packages are released with this patch.
 
     
   
  
 
  
  
 
Also available in:  Atom
  PDF