Bug report #16589

No fields display in expression editor under Fields an values (QGIS 2.18.8)

Added by Claas Leiner almost 7 years ago. Updated almost 7 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Expressions
Affected QGIS version:2.18.7 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:24491

Description

In QGIS 2.18.8 it is not possible in the expression editor (Select by Expresssion / FieldCalculatur) to display the list of fields under "Fields and Values".There is only the entry NULL. The use of the expression editor is now very difficult.

Best regards Claas

nofields.png - Screenshot "No fields" (7.68 KB) Claas Leiner, 2017-05-21 11:33 PM

expression_builder_bug.jpg (301 KB) Antonio Viscomi, 2017-05-22 11:10 AM

expression_builder_bug.jpg (301 KB) Antonio Viscomi, 2017-05-22 11:18 AM


Related issues

Related to QGIS Application - Bug report #16595: No "Recently used expressions" in expression editor Closed 2017-05-22

Associated revisions

Revision 20dde725
Added by Nyall Dawson almost 7 years ago

Followup 2185d42, fix missing field names in expression builder

(fixes #16589, #16595)

cherry-picked from 9a19a5f

History

#1 Updated by Nyall Dawson almost 7 years ago

Can you confirm your build number? This should already be fixed.

#2 Updated by Giovanni Manghi almost 7 years ago

  • Status changed from Open to Feedback

#3 Updated by Antonio Viscomi almost 7 years ago

Claas Leiner wrote:

In QGIS 2.18.8 it is not possible in the expression editor (Select by Expresssion / FieldCalculatur) to display the list of fields under "Fields and Values".There is only the entry NULL. The use of the expression editor is now very difficult.

Best regards Claas

Hello,
I confirm the bug in Qgis 2.18.8 build cde1d78
upgraded 2017/05/22 at 10.30 am.
There seems to have been no fix
I attach screenshot
Best regards Antonio

#4 Updated by Antonio Viscomi almost 7 years ago

Nyall Dawson wrote:

Can you confirm your build number? This should already be fixed.

Hello,
I confirm the bug in Qgis 2.18.8 build cde1d78
upgraded 2017/05/22 at 10.30 am.
There seems to have been no fix
I attach screenshot
Best regards Antonio

#5 Updated by Saber Razmjooei almost 7 years ago

  • Status changed from Feedback to Open

Confirmed in af8fb04

#6 Updated by Saber Razmjooei almost 7 years ago

Also in 52a9c6d

Cheers
Saber

#7 Updated by Giovanni Manghi almost 7 years ago

  • Status changed from Open to In Progress

How this is different from #16595?

#8 Updated by Salvatore Larosa almost 7 years ago

  • Operating System deleted (Windows 7 / Linux Ubuntu 16.04)
  • Category changed from Field calculator to Expressions

This regression was introduced since 2185d42dbcd81be4e45498cdacd82ee74fcb59c7 in order to fix the issue #15633.
I think that commit should be reverted and then finding a better fix for the processing field calculator.
Thinking to some solution for the processing field calculator, I guess we need to reset/remove scope from context when switching between layers.

Anyway, here I done a patch if we want leave things like they are now, without reverting the above commit.

#9 Updated by Nyall Dawson almost 7 years ago

9a19a5fc587e0764afee91c038cede04e4602fcc is the fix - it just needs backporting

#10 Updated by Nyall Dawson almost 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

#11 Updated by Salvatore Larosa almost 7 years ago

Backporting done and fixed some related issue with 6c126a3a960d2d148e9d892a65e636773ef945bd.

#12 Updated by Jürgen Fischer almost 7 years ago

  • Duplicated by Bug report #16595: No "Recently used expressions" in expression editor added

#13 Updated by Jürgen Fischer almost 7 years ago

  • Duplicated by deleted (Bug report #16595: No "Recently used expressions" in expression editor)

#14 Updated by Jürgen Fischer almost 7 years ago

  • Related to Bug report #16595: No "Recently used expressions" in expression editor added

Also available in: Atom PDF