Active
Project:
Neologism
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2011 at 21:37 UTC
Updated:
14 Aug 2011 at 01:40 UTC
If one edits an already existing workspace and hits save, then a new vocabulary is created each time, and thus all the links and connections to the previous main vocabulary and to its created classes and properties are lost, even if the user didn't mean to change them.
When we click on edit on the workspace node, it doesn't automatically populate the Main Vocabulary field, Namespace URI field and other vocabulary entity fields, which is because we had taken these fields from the vocabulary form using drupal_get_form().
Workspace node edit can be disabled as a temporary fix but then there would be a problem if anyone wants to add more authors to the Workspace.
Comments
Comment #1
cygri commentedI guess that the $form_state array also needs to be updated in neologism_form_workspace_node_form_alter? Load the main vocabulary node and copy its field values into that array? (This is a totally blind guess.)