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

[Layout] Data-defined attribute table source layer has some limitations #26585

Open
qgib opened this issue Apr 10, 2018 · 2 comments
Open

[Layout] Data-defined attribute table source layer has some limitations #26585

qgib opened this issue Apr 10, 2018 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@qgib
Copy link
Contributor

qgib commented Apr 10, 2018

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 18697
Affected QGIS version: 3.1(master)
Redmine category:map_composer/printing


In a Print layout, Add an attribute table, and in its properties set 'layerA' as layer source
In the layer source data-defined widget, simply type 'layerB' expression to use instead the layerB as source value. Nothing happens. Pressing "Refresh table data" does nothing.

I'd expect attribute table columns being filled (when compatible) by layerB values instead of still showing layerA values.

Also if you deselect the table and select it back, the data-defined expression is cleared.

The same happens with expressions like @case when 1=1 then 'layerB' end@ (when there's an else parameter, it works "as expected")

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels May 25, 2019
@roya0045
Copy link
Contributor

Still true.

@Pedro-Murteira
Copy link

Still true on QGIS 3.22.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

3 participants