To my understanding, the commit below provided a UI for selecting vocabularies by machine name when creating a new taxonomy term, but the interface I'm seeing in the 2.0 release is a text box which requires the integer vid. Has this been walked back?

Rules: June 29, 2011 9:46
Commit b24f284 on 7.x-2.x
by fago
#1161412 added direct input UI for selecting vocabularies and fixed its export to use machine names.

As an aside, yes, I know I could use a separate action to fetch the vocabulary by machine name and use the data selector to set it here, but it seems wasteful when the interface will (as I read it) take a machine name for direct input.

Comments

fago’s picture

Component: User Interface » User interface

hm, nop it should work. I've done a quick test and it appears to work for me?

{ "rules_test" : {
    "LABEL" : "test",
    "PLUGIN" : "reaction rule",
    "REQUIRES" : [ "rules", "comment" ],
    "ON" : [ "comment_view" ],
    "DO" : [
      { "variable_add" : {
          "USING" : { "type" : "taxonomy_vocabulary", "value" : "tags" },
          "PROVIDE" : { "variable_added" : { "variable_added" : "Added variable" } }
        }
      }
    ]
  }
}
mitchell’s picture

Component: User interface » User Interface
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.