We just added a new term to an existing taxonomy vocabulary, which worked fine. But when I go to the "list terms" page and try to move the new term to a different place within the list (keeping the same parent term), I get this error when I try to save it:
Error
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '33-31' for key 'PRIMARY': UPDATE {taxonomy_term_hierarchy} SET `parent`=:db_update_placeholder_0 WHERE (`tid` = :db_condition_placeholder_0) ; Array ( [:db_update_placeholder_0] => 31 [:db_condition_placeholder_0] => 33 )
Also, when I reload the "List terms" page, the parent term was displayed in a different place.
Oh, and the terms that it's complaining about weren't touched in the editing.
I am running the latest version of Backdrop (1.31.0) and all modules.
Any idea what's going on?
Recent comments
No, that won't work. My dev server's address looks like: localhost:1000/xyz/folder1/folder2 My prod server address looks like: example.com Just using a relative...
Need PHP Filter in Backdrop
No prob. I use a NAS for development, and my sites are all in different directories, so it's like <nasip>/volume1/web/site-name.
Need PHP Filter in Backdrop
Fair enough. I'm used to having all my dev sites at the root so forgot how that sometimes works.
Need PHP Filter in Backdrop
Those links can just be /node/add/whatever and they will work on dev / stage / prod whatever. Note the leading forward slash.
Need PHP Filter in Backdrop
I am guilty (in Drupal) of using PHP Filter in places just so I can use l() and url(), since my paths are very different between dev and prod servers. For example, at the top of my Views,...
Need PHP Filter in Backdrop