MatthewCurlerTAC opened a new issue, #45384:
URL: https://github.com/apache/superset/issues/45384

   ### Bug description
   
   When filters are applied to a report via the *Dashboard Filter* section of 
the *Edit Report* dialog, the filter(s) are not applied to the report that is 
emailed.
   
   To replicate this behavior:
   
   1. Create a dashboard with one or more filters.
   2. Schedule an automated report for the dashboard.
   3. Add a filter under *Report contents* > *Dashboard Filter*
   4. Manually trigger the report to send
   
   I haved tested:
   - A dashboard with and without tabs
   - Multiple tabs or a single tab included in the report
   - Removing and re-adding the filter, then saving
   - Removing, saving, reopening the *Edit Report* dialog, adding the filter, 
saving
   - Sending as a pdf and png
   - With and without cache enabled (attached logs are from when cache was 
enabled)
   
   
   ### Screenshots/recordings
   
   Two report copies are attached:
   - 
[Example_Downloaded.pdf](https://github.com/user-attachments/files/33560183/Example_Downloaded.pdf)
 was downloaded from the live dashboard with the same filter applied as was set 
for the report.
   - 
[Example_Emailed.pdf](https://github.com/user-attachments/files/33560182/Example_Emailed.pdf)
 is the report, as emailed, with the filter set but not applied to the 
resulting chart.
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   Not applicable
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Not applicable
   
   ### Additional context
   
   ## Feature flags
   
   ```python
   FEATURE_FLAGS = {
       "ALERT_REPORTS": True,
       "ALERT_REPORTS_FILTER": True,
       "ALERT_REPORT_TABS": True,
       "AUTH_ROLES_SYNC_AT_LOGIN": True,
       "DASHBOARD_RBAC": True,
       "ENABLE_TEMPLATE_PROCESSING": True,
       "PLAYWRIGHT_REPORTS_AND_THUMBNAILS": True,
       "RLS_IN_SQLLAB": True,
       "TAGGING_SYSTEM": True,
   }
   ```
   
   ## Logs
   - 
[superset_worker__logs.txt](https://github.com/user-attachments/files/33560449/superset_worker__logs.txt)
   - 
[superset_app__logs.txt](https://github.com/user-attachments/files/33560451/superset_app__logs.txt)
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to