mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
Duplicate Surveys is Broken #4428
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#4428
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @markbond1007 on GitHub (Nov 9, 2020).
Issue
There are actually two issues here although I suspect they are related.
Expected Behavior
At least in 2 above the both the original survey and the new one should have the questions attached.
Actual Behavior
The questions in the original survey are missing after the duplication. I suspect that the attempt to move rather than duplciate is why the error in 1) above happens.
Possible Fix
Steps to Reproduce
2.Duplicate the survey
3.Check the original survey and see the questions missing
Context
Your Environment
@johnM2401 commented on GitHub (Nov 10, 2020):
Hey,
I am able to see Issue 1
However, I'm seeing the inverse of No. 2 on 7.11.1.7
(Old Survey keeps its Questions, New Survey is created with no Questions)
Which subversion of 7.11.x are you on, by chance?
It will be good to know where there is a difference in functionality.
@markbond1007 commented on GitHub (Nov 10, 2020):
@johnM2401
That will teach me to rush things, I thought I'd added that. Anyway its 7.11.15 before I tested there I had tested on 7.11.5 and had the problem you mentioned, when searching there was some issues with copying Surveys that already had responses hence I set up a dev site for our client and upgraded to the latest (this was about 3-4 weeks ago). Since then they have tested again and this is the issue now discovered.
Regards
Mark
@johnM2401 commented on GitHub (Nov 10, 2020):
Hey @markbond1007
I've given it a quick try in both 7.11.15 & 7.11.5
Interestingly, I am also seeing the inverse on these versions
(Old Survey keeps Questions / New does not)
Either way, I'd agree that there is an issue here.
(Either it behaves as you have described or, if how I've seen, I believe it should carry over questions onto the new survey)
So I've labeled this as a Bug
Thank you for your response!