Zen Cart Logo
Forums / Bug Reports / ADMIN_NAME_MINIMUM_LENGTH missing from Admin Minimum Values

ADMIN_NAME_MINIMUM_LENGTH missing from Admin Minimum Values

Views: 3,037

Results 1 to 5 of 5
15 Sep 2019, 08:41
#1
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

ADMIN_NAME_MINIMUM_LENGTH missing from Admin Minimum Values

I found this was missing from my 156c database (originally 138a).
This constant was added to the install sql in 156 but I don't find any reference to it in any upgrade scripts.

15 Sep 2019, 09:31
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: ADMIN_NAME_MINIMUM_LENGTH missing from Admin Minimum Values

This is fixed in 1.5.7. It's a known miss.
https://github.com/zencart/zencart/issues/2643

15 Sep 2019, 20:49
#3
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: ADMIN_NAME_MINIMUM_LENGTH missing from Admin Minimum Values

Thanks for the SQL.

16 Sep 2019, 15:19
#4
edadk avatar

edadk

Zen Follower

Join Date:
Nov 2008
Posts:
191
Plugin Contributions:
0

Re: ADMIN_NAME_MINIMUM_LENGTH missing from Admin Minimum Values

Tried to add this to my test site, but it already exists in my 156c installation, which was an upgrade from 139h.

16 Sep 2019, 15:30
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: ADMIN_NAME_MINIMUM_LENGTH missing from Admin Minimum Values

It's in the fresh create but not in the upgrade. You can see this by looking in the zc_install folder.