Bug report #19686

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

Added by Harrissou Santanna about 6 years ago. Updated almost 6 years 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 almost 6 years ago

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

Revision 0c4c8feb
Added by Alexander Bruy almost 6 years 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 almost 6 years ago

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

(cherry picked from commit 95209d134cad8cd7761e4f2246ee5ec937e90d73)

History

#1 Updated by Alexander Bruy almost 6 years ago

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

#2 Updated by Alexander Bruy almost 6 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Alexander Bruy almost 6 years ago

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

#4 Updated by Alexander Bruy almost 6 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF