Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Surveys is Broken #8947

Open
markbond1007 opened this issue Nov 9, 2020 · 3 comments · May be fixed by #9498
Open

Duplicate Surveys is Broken #8947

markbond1007 opened this issue Nov 9, 2020 · 3 comments · May be fixed by #9498
Labels
Area: Module Issues & PRs related to modules that do not have specific label Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type:Bug Bugs within the core SuiteCRM codebase

Comments

@markbond1007
Copy link
Contributor

Issue

There are actually two issues here although I suspect they are related.

  1. Duplicating a survey with entries added, fails with an error message about editing surveys with entries
  2. Duplicating an empty survey copies the survey but MOVES the questions (ie the questions appear okay on the new survey but are deleted from the old one)

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

  1. Create a Survey with questions
    2.Duplicate the survey
    3.Check the original survey and see the questions missing

Context

Your Environment

  • SuiteCRM Version used:7.11
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)):
  • Environment name and version (e.g. MySQL, PHP 7):
  • Operating System and version (e.g Ubuntu 16.04):
@johnM2401 johnM2401 added Area: Module Issues & PRs related to modules that do not have specific label Status:Requires Updates Issues & PRs which requires input or update from the author labels Nov 10, 2020
@johnM2401
Copy link
Contributor

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.

@johnM2401 johnM2401 added the Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds label Nov 10, 2020
@markbond1007
Copy link
Contributor Author

@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 johnM2401 added Type:Bug Bugs within the core SuiteCRM codebase and removed Status:Requires Updates Issues & PRs which requires input or update from the author labels Nov 10, 2020
@johnM2401
Copy link
Contributor

johnM2401 commented 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!

SinergiaCRM added a commit to SinergiaTIC/SuiteCRM that referenced this issue Feb 7, 2022
@SinergiaCRM SinergiaCRM linked a pull request Feb 7, 2022 that will close this issue
6 tasks
SinergiaCRM added a commit to SinergiaTIC/SuiteCRM that referenced this issue Feb 14, 2022
SinergiaCRM added a commit to SinergiaTIC/SuiteCRM that referenced this issue Mar 2, 2022
AlbertoSTIC pushed a commit to SinergiaTIC/SuiteCRM that referenced this issue Jan 23, 2024
AlbertoSTIC pushed a commit to SinergiaTIC/SuiteCRM that referenced this issue Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Module Issues & PRs related to modules that do not have specific label Priority:Important Issues & PRs that are important; broken functions, errors - there are workarounds Type:Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants