PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser » Bug #5564

groups default to inactive

Details

Request #5564groups default to inactive
Submitted2005-09-29 19:47 UTC
Fromjeroen at terena dot nl
Assignedlsmith
StatusClosed
PackageLiveUser
PHP Version5.0.5
OSlinux
Roadmaps(Not assigned)

Comments

[2005-09-29 19:47 UTC] jeroen at terena dot nl

Description:
------------
It seems that by default, adding a new group without specifying "is_active" creates the group with "is_active" set to NULL.

I'm using DB container Medium.

Test script:
---------------
add a group and do not specify "is_active" amd the grop will in_active by default. It's actally NULL but that comes down to the same thing.

I think the "is_active" column should be a NOT NULL field in defaulting to true.

Expected result:
----------------
new group is active

Actual result:
--------------
in_active = NULL