ministryofjustice / analytics-platform

Parent repository for the MOJ Analytics Platform
MIT License
14 stars 1 forks source link

Creating a new data bucket fails silently #81

Closed davidread closed 1 year ago

davidread commented 5 years ago

What happened?

I tried to create a new data bucket using Control Panel, but when there was an error (I assume the bucket name was not available) it didn't tell me there was anything wrong - it displayed a different looking form to ask the question again.

Form 1: screen shot 2018-11-07 at 17 40 50

Form 2: screen shot 2018-11-07 at 17 41 05

In addition, let's be clearer about what we call this thing we are creating. It's variously called:

Steps to reproduce the problem

  1. On dev, start on Control Panel 'Warehouse data' tab
  2. Click "Create new warehouse data source"
  3. (Form 1) Call it "dev-test1" (I'm doing this on dev) and click "Create"
  4. (Form 2) essentially repeats the question, with no error message.

Expected behaviour

Display an error message

davidread commented 5 years ago

Ah, form 2 creates a WebApp data bucket, not a Warehouse data bucket that we originally asked for! So the error handling is really wrong.