Comments (3)
This is regression caused by commit c54a494.
@eschiendorfer Emanuel, looks like this strange ajax restriction was meant for instant checkout. Do you remember why it was removed? Did it prevented some other functionality from working properly? Should we revert?
from thirtybees.
Fixed by reverting the original commit.
from thirtybees.
Sorry @getdatakick I was not so much into coding recent weeks. I have completly overseen this.
I am quite sure, that I had issues, since I submit a lot of forms with ajax. IMO this restriction is very dubious. But I understand ofc that it needed to be reverted for now. I will make an override on my side (as a quick solution).
Edit: I have now shortly looked into the code. But this is just a big mess (or spaghetti code as dekker used to call it) right? I have the impression that: Instant checkout means two calls proccessSubmitAccount(). First call probably without ajax and second (for address) with ajax. Is that correct? And instead of using different submitNames its seperated by !$this->ajax.
IMO addresses should be saved by "submitAddress". No matter if it's done in instant checkout or in Address front controller.
If I am wrong, let me know. I don't think there is a simple and clean solution as this is also theme related.
Edit 2: I am even more confused as I can't find an $address->save() or $address->add() in processSubmitAccount().
from thirtybees.
Related Issues (20)
- Edge scenario bug: Products with long short description could not be disabled and duplicated after Short description max value is reduced under the threshold HOT 2
- This description_short field (English (English)) is too long HOT 1
- Deleting language - fix cleaning directories
- Search Index: prevent deadlocks
- Module file introspection: syntax error when it contains namespace
- Error page fails to load when an error occurs during installation HOT 2
- PHP Warning: Trying to access array offset on false in file classes/Guest.php on line 266
- Cart rules: apply discount to cheapest not working HOT 3
- Enhancement: Specific volume price should be able to apply if different combinations are ordered. HOT 1
- smarty_lazy_cache causes invalidation of server side cache
- GuestTrackingController: multiple PHP8 dynamic property issues
- Redis cache: gracefully handle redis exceptions HOT 1
- Handle mysql deadlocks
- Smarty v5.0
- Deprecation: Creation of dynamic property Product::$pack_quantity is deprecated
- Deprecation: classes/order/OrderInvoice.php
- Wrong Bulgarian data on localization import
- Customer service reply through BO appends some codes to email subject received by the customer. HOT 1
- Multishop: Order message through My Profile -> Order summary goes to default shop email, not the email for selected shop. HOT 1
- Multishop: Customer service section - hard to get around if more than couple of shops active
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thirtybees.