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

Fixed issue #18823: STATA Export fails with certain question types #3220

Merged

Conversation

gabrieljenik
Copy link
Collaborator

@gabrieljenik gabrieljenik commented Jun 13, 2023

Very basic sanity test added

@sonarcloud
Copy link

sonarcloud bot commented Jun 13, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication


public static function tearDownAfterClass(): void
{
self::$testSurvey->delete();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If i don't make error , it's already in parent

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow, it wasn't working for us, so added it as a reassurance

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange :

if (self::$testSurvey) {

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have just updated it. Let me see how it goes now.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope we don't leave the survey because it don't break Test.

Remind : when test abort/broke : survey was not deleted. Maybe we need to add a Dev solution for this ?

@Shnoulle Shnoulle added Code review done Version checked for code issue without testing and removed Needs code review labels Jun 14, 2023
@Shnoulle
Copy link
Collaborator

Just remove the 3 private var and i mrege https://sonarcloud.io/project/issues?id=LimeSurvey_LimeSurvey&pullRequest=3220&resolved=false&types=CODE_SMELL

(after check the cancelled 7.4 push)

@gabrieljenik
Copy link
Collaborator Author

All green

@Shnoulle Shnoulle merged commit da05975 into master Jun 14, 2023
20 checks passed
@Shnoulle Shnoulle deleted the bug/18823-STATA-export-fails-with-certain-question-types branch June 14, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code review done Version checked for code issue without testing Has auto test
Projects
None yet
3 participants