djangocms-forms icon indicating copy to clipboard operation
djangocms-forms copied to clipboard

Incorrect behavior with "Form submissions" while copying the plugin.

Open vstoykov opened this issue 5 years ago • 0 comments

If the plugin is copied the original reference to the Form instance is preserved and it's name is replaced with the name of the new "form". This way there are more than one FormDefinitions which point to the same Form. In the administration in "Form submissions" submissions from all of these forms are combined under one "Form" which has the name of the last FormDefinition saved. This is kind of confusing.

The problem probably lies in the logic of PluginReferenceField.pre_save. Further investigation is needed.

vstoykov avatar Oct 10 '18 07:10 vstoykov