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

Target selection does not work on docx report generation #11

Open
putsi opened this issue May 22, 2017 · 0 comments
Open

Target selection does not work on docx report generation #11

putsi opened this issue May 22, 2017 · 0 comments
Labels
Milestone

Comments

@putsi
Copy link
Collaborator

putsi commented May 22, 2017

Steps to reproduce:

  1. Create a project with multiple targets.
  2. Save multiple check results in all targets.
  3. Go to report generation menu on the target.
  4. Select DOCX-report template.
  5. Uncheck some of the target-checkboxes.
  6. Click generate and open the report.
  7. Notice, that all targets are included in the report.

I did some diagnostics and it seems that DocxReport.php gets proper $data (contains only selected targets) when being constructed by getPlugin on ReportPlugin.php.
However after this when the actual report generation starts, _expandLists() of DocxReport.php generates lists for all targets instead of the targets in $data.

@putsi putsi added the bug label May 22, 2017
@anton-belousov anton-belousov modified the milestones: 2.4, 2.5 Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants