Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With the setting "Allow new terms" enabled, I still can't add new terms using Autocomplete Deluxe. When I type the new term, I don't get a message saying "The term '@term' will be added". Instead, the blue loading symbol keeps turning. When I click save, I get an error message saying that the referenced entity does not exist. It's as if the field was configured to not accept new terms through the node form, but that option is enabled.
I cannot reproduce this on https://simplytest.me/, though.
Comment | File | Size | Author |
---|---|---|---|
#8 | autocomplete_deluxe_8_1_0_beta1_fix_js_protocol_01.patch | 1004 bytes | brtamas |
#4 | autocomplete_url_relative-2935363-4.patch | 1.29 KB | mkolar |
Comments
Comment #2
brooke_heaton CreditAttribution: brooke_heaton commentedYep. Happens to me on Drupal 8.4. Same error.
Comment #3
mkolar CreditAttribution: mkolar at Ciklum Western Europe for BurdaForward commentedwe have same problem..
Comment #4
mkolar CreditAttribution: mkolar at Ciklum Western Europe for BurdaForward commentedThis fixes my problem, Drupal which is behind load balancer which is https. I think this is somehow related to using of reverse proxy with https. Its not my cup of tea so dont know it deeply. This patch is sending relative url to the js and there is converted in javascript via Drupal.url.
Comment #5
extect CreditAttribution: extect commentedMake sure you have checked the option "Create referenced entities if they don't already exist" in the settings of your taxonomy (entity) reference field. This should solve your issue.
Comment #6
mkolar CreditAttribution: mkolar as a volunteer commented@extect this was checked of course. If i remember correctly this is an issue when you have client accessing load balancer via https and multiple nodes behind it without https.
Comment #7
brooke_heaton CreditAttribution: brooke_heaton commentedRE #5 - I think the field settings might want to check that, rather than the user. Just to fool proof the widget.
Comment #8
brtamas CreditAttribution: brtamas at Integral Vision Ltd commentedComment #9
daveianoPatch from #4 works for me.
This also resolves a problem with mixed content for a HTTPS site for me.
Comment #10
quixxel CreditAttribution: quixxel commentedSame here. Patches are not working for me.
Drupal 8.7.7
Comment #11
quixxel CreditAttribution: quixxel commentedAnything new here?
It would be great to get this wonderfull module working as expected...
Comment #12
edwardchiapetThanks, everyone! @mkolar's patch works and will merge that into 8.x-1.x-dev.
A new release will be forthcoming that will include all the updates currently in 8.x-1.x-dev.
Comment #14
edwardchiapetComment #15
edwardchiapet