Try making sure that field HAS TO be set for the form to be submitted.
You can do that by adding |true like so:

usergroup|admin|true:User Group:aiki_users_groups:id:name:where
group_level > (2) and group_level < (100)

This won't allow a successful edit unless there is a value specified for
the User Group select box.

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/940869

Title:
  dynamic select menu when editing user group defaults to 0 when
  group_level > (1) and user is admin

Status in Aiki Framework:
  New

Bug description:
  When following the suggestion for how to edit a usergroup using
  dynamic select menu:

  usergroup|admin:User Group:aiki_users_groups:id:name:where group_level
  > (2) and group_level < (100)

  The output looks like this:

  <div class="usergroup field"><label for="usergroup">User
  Group</label><select name="usergroup" dir=""><option value="0">Please
  Select</option><option value="5">Administrators</option><option
  value="6">Editors</option><option
  value="7">Visitors</option></select></div>

  If you don't select a usergroup (because you are editing a user
  quickly), then the usergroup gets set to 0! That shuts the user out of
  the system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/940869/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to