Learn more about these different git repos.
Other Git URLs
2020-07-16 03:48:57,828 [ERROR] koji: GenericError: invalid type for id lookup: <type 'NoneType'>
cli set perm_id=None for editTag2() call then it raise an error when looking up the "None" id.
editTag2()
In edit_tag we have:
edit_tag
if 'perm_id' in kwargs: kwargs['perm_id'] = get_perm_id(kwargs['perm_id'], strict=True) elif 'perm' in kwargs: if kwargs['perm'] is None: kwargs['perm_id'] = None else: kwargs['perm_id'] = get_perm_id(kwargs['perm'], strict=True)
The edit-tag command is passing perm_id.
perm_id
I suspect these parallel options come from the unification of editTag and editTag2 a while back. This looks like an easy fix. I don't see why both can't handle the None value, which would effectively make these parameters aliases of one another.
editTag
editTag2
None
Metadata Update from @mikem: - Custom field Size adjusted to None
Looks like this was introduced in #1945, so this affects 1.21 and 1.22
Metadata Update from @tkopecek: - Issue set to the milestone: 1.22.1 (was: 1.23)
Commit 144e157 fixes this issue
Commit 4e46be9 fixes this issue
Metadata Update from @jcupova: - Issue tagged with: testing-ready
Metadata Update from @jcupova: - Issue tagged with: testing-done
Login to comment on this ticket.