Hi, I am working on fixing the installer.pl. I know the problems will be fixed when the 1.2.x installer is "forward-ported" to 1.3 and/or when templating is done etc. But I don't think these will be finished very soon. In the meantime IMHO the installer should at least work in case someone wants to try 1.3.x (and perhaps help to write some code). While I am working on fixing installer.pl, I came across something I don't understand. When I am asked to create a 4-letter code for the library, it really wants a 4-letter code, and will delete any non-letters. I didn't know and entered a numeric code, and got an empty library code added to the database. Is this correct behaviour? (Reason for asking: If this is correct behaviour then the installer should double-check the library code in case it becomes empty or just one letter, etc.; if this is not correct the regexp in substitution should be corrected.) -- Ambrose Li <a.c.li@ieee.org> http://ada.dhs.org/~acli/cmcc/ http://www.cccgt.org/ DRM is theft - We are the stakeholders
Ambrose Li a écrit:
Hi,
I am working on fixing the installer.pl. I know the problems will be fixed when the 1.2.x installer is "forward-ported" to 1.3 and/or when templating is done etc. But I don't think these will be finished very soon. In the meantime IMHO the installer should at least work in case someone wants to try 1.3.x (and perhaps help to write some code).
While I am working on fixing installer.pl, I came across something I don't understand. When I am asked to create a 4-letter code for the library, it really wants a 4-letter code, and will delete any non-letters. I didn't know and entered a numeric code, and got an empty library code added to the database. Is this correct behaviour?
(Reason for asking: If this is correct behaviour then the installer should double-check the library code in case it becomes empty or just one letter, etc.; if this is not correct the regexp in substitution should be corrected.)
I think it's a bug in installer : i don't know why it MUST be 4 letters, only 4 and only letters. We should be able to enter something else. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIBGB libre http://fr.koha.org)
On Mon, 9 Dec 2002, paul POULAIN wrote:
I think it's a bug in installer : i don't know why it MUST be 4 letters, only 4 and only letters. We should be able to enter something else.
It was a bug in the installer. It's fixed in rel-1-2. The database definition for branchcode is varchar(4). That's the only reason for the 4 character limit right now. Steve.
participants (3)
-
Ambrose Li -
paul POULAIN -
Tonnesen Steve