TkTech / ckanext-cloudstorage

Implements support for resource storage against multiple popular providers via apache-libcloud (S3, Azure Storage, etc...)
MIT License
35 stars 55 forks source link

Previous button works incorrectly #16

Closed wildcatzita closed 6 years ago

wildcatzita commented 7 years ago

When creating a new dataset, upload a file and then click the Back button it uploads the file and redirects you to the resource summary page. The dataset state is set to 'active'. It should definitely redirect you back to step 1 to the dataset creation wizard and the state should still be 'draft'.

To reproduce:

  1. Create dataset and click add data
  2. Click Upload and select a file
  3. Click the Previous button — file uploads and the browser is redirected to the summary page of the new resource. The dataset state is now 'active'.
wildcatzita commented 7 years ago

Added PR