eyra / mono

Next platform repo
https://eyra.co
GNU Affero General Public License v3.0
7 stars 6 forks source link

Azure storage endpoint_form.ex broken #951

Open trbKnl opened 3 months ago

trbKnl commented 3 months ago

Describe the bug When selecting storage service azure and continuing to data storage a 500 error is thrown

To Reproduce Steps to reproduce the behavior:

  1. Configure a data donation study
  2. Select Azure as storage
  3. Click "Go to data storage"
  4. Observe

Continue to the configuration systems/storage/azure/endpoint_form.ex

Additional context error: ** (KeyError) key :show_errors not found

In endpoint_form.ex on line 7:

    <div id={"#{@id}_azure_endpoint_content"} phx-hook="LiveContent" data-show-errors={@show_errors}>

@show_errors seems to be the culprit. Changing to:

    <div id={"#{@id}_azure_endpoint_content"} phx-hook="LiveContent" data-show-errors={@show_errors}>

Allows continuation to the form as expected.

mellelieuwes commented 3 months ago

Thanx for reporting 👍

AdrienneMendrik commented 3 months ago

Closing this issue as discussed with Niek.

trbKnl commented 3 months ago

@AdrienneMendrik can you reopen this issue? This is a bug :)

AdrienneMendrik commented 3 months ago

Ah ok, check. @trbKnl Sorry, I misunderstood.