Author Topic: Serious bug in the registration process  (Read 199 times)

hpheidinger@arcor.de

  • Beginner
  • *
  • Posts: 2
  • Systems engineer
  • Skype Name: comserve-it
  • VirtueMart Version: latest official V3
Serious bug in the registration process
« on: July 27, 2018, 22:29:31 pm »
First things first ...
------ Using -------------
VirtueMart 3.2.14
Joomla 3.8.10
Centos 7.5
-----------------------------

Virtuemart has a serious bug in the registration process that does not allow a registering
candidate to finish registration succesfully.
 
Selection from the 'State/Region/.." dropdown on the registration form  is impossible
even if the list is not empty
But a selection is 'required' it the list is not empty (E.g. for India, China, Russia, ...)

So a registering user (at state 'public/guest' since still 'unregistered') will fail over-and-over
with the registration since he cannot make a section for something  he has to make to get the registration thru.
See the idiocratcy ???
Every registering user will fail in the registration process if he has specified a 'country' that has a 'state' list
attached to the chosen country.

- Only 'administrators' can access the 'state' list in the admin backend.

- In the 'front-end' this 'state lists' are not accessible - neither for 'public/guests'
  during the registration process nor for a registered user.

I assume this is a permission problem.
The 'state/region' list permission must be the same as that for the 'country' selection - but obviously isn't
in the front-end (site) - otherwise the selection would work and the registration process would not fail
over-and-over for countries with non-empty state/region/provice lists.

In order to get users successfully thru the registration I have disabled the 'required' flag from the
state/region/province dropdown in the user-fields But this cannot be the solution to the problem.

You may verify this ill-behavior by trying to register a user from India (or other country with a non-empty
state/region/province list maintained by an administrator in the VirtueMart admin backend under
Configuration -> Countries)
Heinz-Peter Heidinger
CEO, ComServe IT-Services
Essen
- Germany -

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3248
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Serious bug in the registration process
« Reply #1 on: July 27, 2018, 22:45:20 pm »
Do you use a one page checkout plugin or virtuemart core checkout ?(if yes disable it to test)
Have you try using Joomla core template protostar ?
I know that the problem is certainly not here, but this are the basic test to be sure, it's a virtuemart problem.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7885
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Serious bug in the registration process
« Reply #2 on: July 28, 2018, 16:02:42 pm »
Of course it works otherwise VM would be un-useable

on any of my sites as guest etc the state selector shows correctly

It is rendered by JS ajax so find if the ajax is returned properly ( no debug info etc in it) or if it is even called ( fails because of JS error on your template)

GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

hpheidinger@arcor.de

  • Beginner
  • *
  • Posts: 2
  • Systems engineer
  • Skype Name: comserve-it
  • VirtueMart Version: latest official V3
Re: Serious bug in the registration process
« Reply #3 on: Yesterday at 10:11:27 »
Hello,

In my case it fails for a non-obvious reason whilst the 'country' box is working just fine.
I had to remove the 'mandatory flag' from the 'state/region/....' selector to get registering users
through the registration process. Some guy from India notified me, that registration failed over-and-over
for him, since he could not select from the drop-down because it did not get filled.

I have changed the country of an already registered test-user to 'India' and tried a 'State/Region/...'
selection from the drop-down in the customer profile manager. but with the same effect even for a
'registered' user: empty drop-down for the "State/Region/..." selection.

You may verify this here:

          https://music-on-the.net/

Heinz-Peter Heidinger
CEO, ComServe IT-Services
Essen
- Germany -

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26924
  • Always on vacation
    • Jenkin Hill Internet
Re: Serious bug in the registration process
« Reply #4 on: Yesterday at 12:09:55 »
I see an error in the console:

TypeError: jQuery.browser is undefined

Possible issue is this jQuery version which is older than that used for VM is loading after the VM version, 1.12.4

https://music-on-the.net/modules/mod_bm_cool_menu/assets/js/jquery-1.11.1.min.js

 bm_cool_menu
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM.3.2.15.9866 on Joomla 3.8.10 PHP 7.0.30

Testing VM.3.2.15.9898 on J3.8.10

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7885
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Serious bug in the registration process
« Reply #5 on: Yesterday at 19:23:26 »
Uncaught TypeError: Cannot read property 'msie' of undefined
    at HTMLDocument.<anonymous> ((index):108)
    at j (jquery-1.11.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-1.11.1.min.js:2)
    at Function.ready (jquery-1.11.1.min.js:2)
    at HTMLDocument.J (jquery-1.11.1.min.js:2)
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation