Bug report #19686

[Processing] Field calculator algorithm does not use the selected layer as default layer input

Added by Harrissou Santanna over 1 year ago. Updated about 1 year ago.

Status:Closed
Priority:Normal
Assignee:Alexander Bruy
Category:Processing/Core
Affected QGIS version:3.3(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:27511

Description

Unlike the other algorithms that use the selected layer as active value of their drop-down input layer parameter, the Field calculator algorithm seems to use another layer (maybe the first loaded?)

Associated revisions

Revision 95209d13
Added by Alexander Bruy about 1 year ago

[processing] use active layer by default in field calculator algorithm
(fix #19686)

Revision 0c4c8feb
Added by Alexander Bruy about 1 year ago

Merge pull request #8945 from alexbruy/processing-fieldcalc

[processing] use active layer by default in field calculator algorithm (fix #19686)

Revision a2cb07ed
Added by Alexander Bruy about 1 year ago

[processing] use active layer by default in field calculator algorithm
(fix #19686)

(cherry picked from commit 95209d134cad8cd7761e4f2246ee5ec937e90d73)

History

#1 Updated by Alexander Bruy about 1 year ago

  • Assignee set to Alexander Bruy
  • Status changed from Open to In Progress

#2 Updated by Alexander Bruy about 1 year ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Alexander Bruy about 1 year ago

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

#4 Updated by Alexander Bruy about 1 year ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF