#555 default parameter values are not converted
Closed: Fixed None Opened 13 years ago by jhrozek.

When a plugin is called, only the parameter values that are passed explicitly are converted using the Plugin.convert() method. This is a problem especially for parameters that use tuple() as their default value, since this needs to be converted to None.


Do you have some examples?

For instance the --exlude-groups and --exclude-users parameters in the migration plugin -- its default is tuple() and when not set to anything, the plugin blows up in the current master b/c the tuple is not converted to None.

Metadata Update from @jhrozek:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.0 - 2010/12 (FC)

7 years ago

Login to comment on this ticket.

Metadata