Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saved batch processing inputs are not restored in a useful state #24219

Closed
qgib opened this issue Mar 7, 2017 · 4 comments
Closed

Saved batch processing inputs are not restored in a useful state #24219

qgib opened this issue Mar 7, 2017 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Mar 7, 2017

Author Name: Spencer Gardner (@spencerrecneps)
Original Redmine Issue: 16309
Affected QGIS version: 2.18.4
Redmine category:processing/core


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.

@qgib
Copy link
Contributor Author

qgib commented Mar 7, 2017

Author Name: Giovanni Manghi (@gioman)


  • category_id was configured as Processing/Core

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • regression was configured as 0
  • easy_fix was configured as 0

@qgib
Copy link
Contributor Author

qgib commented May 13, 2017

Author Name: Alexander Bruy (@alexbruy)


Applied in changeset 43595f5.


  • status_id was changed from Open to Closed
  • done_ratio was changed from 0 to 100

@qgib qgib closed this as completed May 13, 2017
@qgib
Copy link
Contributor Author

qgib commented May 13, 2017

Author Name: Alexander Bruy (@alexbruy)


  • resolution was changed from to fixed/implemented
  • description was changed from 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:

Create a batch process and save to .json

Close the dialog and reopen

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. to 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:

Create a batch process and save to .json

Close the dialog and reopen

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.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant