Bug report #16309

Saved batch processing inputs are not restored in a useful state

Added by Spencer Gardner over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/Core
Affected QGIS version:2.18.4 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:24219

Description

I have a batch processing routine that I have saved to .json format for repeated use. When I reload the batch configuration it encloses layer references in double quotes, which causes an error when running the batch process. In order to make things work I have to manually remove the double quotes from all layer references.

How to reproduce:
  1. Create a batch process and save to .json
  2. Close the dialog and reopen
  3. Load the saved .json file

What happens:
Layer references are enclosed in double quotes, which causes an error when the tool is run.

What should happen:
Layer references are not enclosed in anything and the tool runs successfully without needing further user input.

Associated revisions

Revision 43595f5d
Added by Alexander Bruy over 3 years ago

[processing] remove extra quotes when loading batch process from file
(fix #16309)

Revision 6fe459de
Added by Alexander Bruy over 3 years ago

[processing] remove extra quotes when restoring batch process from file
(fix #16309)

History

#1 Updated by Giovanni Manghi over 3 years ago

  • Category set to Processing/Core

#2 Updated by Giovanni Manghi over 3 years ago

  • Regression? set to No
  • Easy fix? set to No

#3 Updated by Alexander Bruy over 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

#4 Updated by Alexander Bruy over 3 years ago

  • Resolution set to fixed/implemented
  • Description updated (diff)

Also available in: Atom PDF