Hide Forgot
Description of problem: 'group None' returned when running 'bkr group-modify --root-password' Version-Release number of selected component (if applicable): beaker-devel Version - 0.14.3 How reproducible: always Steps to Reproduce: 1. kinit login as an account that is not an owner of group1. 2. run: bkr group-modify --root-password password group1 Actual results: return: XML-RPC fault: <class 'bkr.common.bexceptions.BX'>:You are not an owner of group None Expected results: XML-RPC fault: <class 'bkr.common.bexceptions.BX'>:You are not an owner of group group1 Additional info:
(In reply to wangjing from comment #0) > return: > XML-RPC fault: <class 'bkr.common.bexceptions.BX'>:You are not an owner of > group None > > Expected results: > XML-RPC fault: <class 'bkr.common.bexceptions.BX'>:You are not an owner of > group group1 Is "None" the display name of group1? I'm guessing this is just another case of using group name vs. display name inconsistently (bug 967392).
(In reply to Dan Callaghan from comment #2) > (In reply to wangjing from comment #0) > > return: > > XML-RPC fault: <class 'bkr.common.bexceptions.BX'>:You are not an owner of > > group None > > > > Expected results: > > XML-RPC fault: <class 'bkr.common.bexceptions.BX'>:You are not an owner of > > group group1 > > Is "None" the display name of group1? I'm guessing this is just another case > of using group name vs. display name inconsistently (bug 967392). Seems like it. I see that we return the group object in error messages. And in class Group, we return the display name in the __str__ .