Steps to reproduce the bug:

  • Add an HS field to a content type with permission to create new terms
  • Add content of this content type
  • Using HS
    • traverse existing taxonomy
    • select at any level <create new term>
    • provide new term
  • Do one of the following:
      • Action: Press Create on HS field and then Save for the new content
      • Result: the content (node) is created twice, the new taxonomy term once
      • Action: DO NOT press Create on HS field, just Save the new content
      • Result: the content (node) is created once, the new taxonomy term is not created
      • Action: Press Create on HS field but DO NOT Save the new content
      • Result: the content (node) is created once, the new taxonomy term is created once
  • So, the desired result is achieved following option 3, but the intuitive action is that of option 1. Either the HS submission should NOT submit the whole new content form, or Saving the content form should behave like updating an already existing node.

Comments

Vidus’s picture

I'm having this issue as well. I've found that repeatedly opening and selecting a term on a list will also keep making content. I believe I got over 3 pieces of content created within just a few seconds clicking on the menu.

yusufsarac’s picture

I'm having the same problem. Any solution for this ?

latulipeblanche’s picture

I've got the same problem.

I found out that under 'relations' as 'default' there is already a 'root' parent term.

I added the parent I want to use, I remove the 'root', and even that there is an error message "Parents field is required." I save and there is just one entry added.

It would be better not ta add the default parent I think.

fasdalf@fasdalf.ru’s picture

Up. Problem is actual for me too.

challenge’s picture

I get this too and it's pretty annoying if you plan to insert new terms through HS widget.

it creates a duplicated node called "[node:field_nameofHSfield]"

damiandab’s picture

same problem :(

Gamesbro’s picture

Temporary Solution: Full credit here http://drupal.org/node/1389740

This solves the content double create and autosave bug. The side effect and this could be corrected (HELP) is that the first letter of the taxonomy term will only stay capitalized. Any subsequent capital default to lower case.

Nchase’s picture

latest dev still contains this bug. It's pretty annoying as it results in a double creation. Anyone knows what causing it?

BigBrother2010’s picture

Same problem. Anyone found solution ?

ioskevich’s picture

This module works as a temp solution: http://drupal.org/node/1389740

ioskevich’s picture

Well, in case it might help anyone - to get rid of text formatting for new terms, comment out line 149 in solve_hs_issues.module from http://drupal.org/node/1389740

Not sure why, but capitalization is hardcoded there: $term_input = ucfirst(strtolower($term_input)); should become //$term_input = ucfirst(strtolower($term_input));

stefan.r’s picture

Issue summary: View changes

is this still an issue in the latest version of HS?

stefan.r’s picture

Status: Active » Closed (cannot reproduce)

The instructions in the opening post do not lead to the described result, closing issue.