---- Reported by email@example.com 2009-11-03 15:58:22 ----
The patron syspref AutoEmailPrimaryAddress shows a pulldown with email as the first, default option. However, the default value in the systempreferences table seems to be 0 (or off). It only records email (or emailpro, or other value) if the sysadmin actively selects the value from the pulldown and clicks save. One of the values in the pulldown is OFF. Can this syspref be updated so that either the pulldown shows OFF as the default, or the installation default value is set to email? That would at least solve the problem for future installations. My personal preference would be to set the default value to email.
We have several development features that are using this syspref and it's always a problem to check if it's actually set. There is no visual indication in Administration, System Preferences whether it's really set to email or is off.
Also, one of the options in the pulldown is cardnumber. Does that make any sense for an email field? Should it be removed?
--- Bug imported by firstname.lastname@example.org 2010-05-21 01:14 UTC ---
This bug was previously known as _bug_ 3755 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3755
Unknown operating system Windows 2000. Setting to default OS "All".
Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
an account here. Reassigning to the person who moved
it here: email@example.com.
Previous reporter was firstname.lastname@example.org.
Also report about this:
[Sat Jul 10 08:49:21 2010] [error] [client 184.108.40.206] [Sat Jul 10 08:49:21 2010] memberentry.pl: Use of uninitialized value within %newdata in pattern match (m//) at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 259., referer: http://library.dit-tct.org:8080
via phpmyadmin I see value AutoEmailPrimaryAddress=0
It is need to force save this variable in Koha System Admin, after this such error no occur.
It's maybe general problem, such problem also observed with variable "defaultSortField" and other.
The default is now OFF, problem solved (checked installer/data/mysql/en/mandatory/sysprefs.sql)