Bug report #21631

Some processing algorithms raise an unnecessary error on dialog window opening

Added by Andrea Giudiceandrea about 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/QGIS
Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29447

Description

On Windows 7 64 bit with QGIS 3.4.5-1 LTR (89ee6f6e23) and QGIS 3.7.0-10 Master (1205fbfa71),

the "Create attribute index" (qgis:createattributeindex), "Random selection within subsets" (qgis:randomselectionwithinsubsets) and "Select by attribute" (qgis:selectbyattribute) processing algorithms raise the following unnecessary error on dialog window opening if there is no vector layer in the map:

WARNING     : Could not load selected layer/table. Dependent field could not be populated

It seems the warning was introduced with PR https://github.com/qgis/QGIS/pull/8967

Associated revisions

Revision b7173e45
Added by Nyall Dawson about 5 years ago

[processing] Fix warning when loading algorithm dialog and no layers
are present

Fixes #21631

Revision 57d649dd
Added by Nyall Dawson about 5 years ago

[processing] Fix warning when loading algorithm dialog and no layers
are present

Fixes #21631

Revision c66159bd
Added by Nyall Dawson about 5 years ago

[processing] Fix warning when loading algorithm dialog and no layers
are present

Fixes #21631

Revision b20e80ae
Added by Nyall Dawson about 5 years ago

[processing] Fix warning when loading algorithm dialog and no layers
are present

Fixes #21631

Revision 09df4ab0
Added by Nyall Dawson about 5 years ago

[processing] Fix warning when loading algorithm dialog and no layers
are present

Fixes #21631

History

#1 Updated by Nyall Dawson about 5 years ago

  • Status changed from Open to In Progress

#2 Updated by Nyall Dawson about 5 years ago

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

Also available in: Atom PDF