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
I‘ve recently tested DataTables and like it very much.
Views responsive tables
Maybe also worth exploring: https://github.com/backdrop-contrib/tabled https://github.com/backdrop-contrib/datatables
Views responsive tables
Sorry, but I have not had the chance to try the vhost fix yet. I'll post back after I do.
Question re RewriteBase and running in a sub-directory
The official guidance for that would be to put the preprocessing in template.php within your_theme_preprocess_node() and put the logic there to add to or change the variables, but you can do in...
Display modes and templating
Perfect. So if I work with the .tpl files for e.g. all nodes of type “books”, I can easily do something like this via PHP (nobody needs twig anyway): If field 'user' = ‘yorkshirepudding’, then...
Display modes and templating