Validator error cannot find db connection Bug Report from tehowden #2021-0-8_10-15-4

OS info

  • Operating System : Windows 10.0.19042
  • Wappler Version : 3.7.0

Problem description

validator cannot find connection to db

Steps to reproduce

  1. make a validator server side
  2. validating user name
  3. try to use it

Error message json in picture. Error 500 internal error on page
bilde

print out of security php that validates username

Is your connection defined under globals?

Please test following update, unzip file in dmxConnectLib/lib/validator/rules.

db.zip (640 Bytes)

Yes it works getting data from db and the insert of the user works without validation.

Will do

That worked it both saved and validated correctly

Fixed in Wappler 3.7.1