#1429 editTag API call should raise GenericError exception for non existing permission ID
Closed: Fixed by tkopecek. Opened by jcupova.

Steps to Reproduce:

Run editTag(tag_name, tag_rename, arches, locked, non_exist_perm_id, extra=[])

Actual result:

Fault: : insert or update on table "tag_config" violates foreign key constraint "tag_config_perm_id_fkey"\nDETAIL: Key (perm_id)=(999) is not present in table "permissions".\n'>

Expected result:

Should raise GenericError exception for non-existing permission ID.


Metadata Update from @tkopecek:
- Custom field Size adjusted to small

Metadata Update from @dgregor:
- Issue set to the milestone: 1.21

Metadata Update from @jcupova:
- Issue tagged with: testing-done

Commit 947a7aed fixes this issue

Commit a63c801e fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1429

Please continue any further discussion there.

Metadata
Related Pull Requests