Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0] partner_firstname: _check_name exception during saving address in website checkout form #1842

Open
janbec opened this issue Sep 6, 2024 · 1 comment
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@janbec
Copy link

janbec commented Sep 6, 2024

Module

partner_firstname
There are two more bug reports #1638 and #1830 describing similar errors with different error messages.

Describe the bug

  • I logged in as a portal user and added something to my shopping cart
  • click on checkout and you get to this site:
    grafik
  • When I hit "Adresse speichern" ("Save Address"), I get the following error:
    grafik

This is the translation of the error given by _check_name .

It seems both values firstname and lastname are false. It looks like _checkout_form_save writes to the partner with None values for firstname and lastname:
grafik

checkout in checkout_form_save() is a dict with partner values in this case. The issue is fixed if I write firstname and lastname into checkout during that method, but there is probably a better way to do this.

To Reproduce

17.0 (I just pulled the most recent version)

Steps to reproduce the behavior:

  1. Get access and login with a portal user
  2. put something into a shopping cart
  3. try to checkout
  4. Fill out address field and click save
  5. Error
@janbec janbec added the bug label Sep 6, 2024
@janbec janbec changed the title [partner_firstname] _check_name exception during saving address in website checkout form [17.0]partner_firstname: _check_name exception during saving address in website checkout form Sep 6, 2024
@janbec janbec changed the title [17.0]partner_firstname: _check_name exception during saving address in website checkout form [17.0] partner_firstname: _check_name exception during saving address in website checkout form Sep 6, 2024
Copy link

github-actions bot commented Mar 9, 2025

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

1 participant