Don't work with inline_entity_form

Created on 24 June 2018, over 6 years ago
Updated 24 January 2024, 10 months ago

Reproduce steps:

  1. Install commerce and commerce_product module.
  2. Create an product attribute "size" /admin/commerce/product-attributes and set element type as "Select list"
  3. Set commerce_product_variation's size field form widget as autocomplete delux.
  4. Create a product(Every thing works fine in this step).
  5. Edit last step's product, and add new variation. the size don't work, after open chrome's inspect and click Console, we can see js error

This error caused by the wrong loading order of js file, the autocomplete_delux.js is the last loaded js file.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code (miscellaneous)

Created by

πŸ‡¨πŸ‡³China lawxen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine sickness29

    I have tested using the clean drupal installation and it works with no issues.
    Tried both: simply installed inline_entity_form and tried adding/editing entity there with autocomplete deluxe, after no luck with reproducing I have installed commerce and repeated you steps using both widgets from inline_entity_form module and both works as expected.
    Perhaps it's some issue with your environment that removed access to autocomplete_deluxe's route which returns results, please make sure it is reproducible with clean drupal before creating an issue.
    Also it's not possible for "order of js file" to influence Drupal's route access

  • Status changed to RTBC 11 months ago
  • πŸ‡ΊπŸ‡¦Ukraine sickness29

    Hi @rajab-natshah
    this can be Closed (works as designed) as I was not able to reproduce any issues with clear drupal and commerce or simply with autocomplete element being inside inline entity form.

  • Status changed to Closed: cannot reproduce 10 months ago
  • πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

    Thanks, Andrew, for following up
    and thank you, Lawxen, for reporting.
    Feel free to re-open or file a new issue if needed

Production build 0.71.5 2024