ONEARMY / community-platform

A platform to build useful communities that aim to tackle global problems
https://platform.onearmy.earth
MIT License
1.07k stars 357 forks source link

[bug] Trying to add a photo to a WIP Question submits it (confirmed on dev and local emulator) #3691

Closed pizzaisdavid closed 1 week ago

pizzaisdavid commented 1 week ago

Describe the bug As a person with a question, I want to include a photo, but I can't.

To Reproduce Steps to reproduce the behaviour:

  1. yarn run frontend:for-emulated-backend:watch
  2. in another terminal yarn run backend:emulator:watch
  3. Login as normal jim. See for credentials --> https://github.com/ONEARMY/community-platform/blob/master/packages/documentation/docs/Backend%20Development/firebase-emulator.md#user-logins
  4. Go to http://localhost:4000/questions
  5. Click "ask a question"
  6. Type a title
  7. Type a description
  8. Go to add a photo.

Result Be confused, because your question gets submitted.

Expectation I can upload a photo, and submit the question myself.

Screenshot/video

See this demo for illustration: https://www.youtube.com/watch?v=jG1zN2AQFbc

Additional context I know it used to work ~10 days ago, because I posted a test question on production with an image.

onearmy-bot commented 1 week ago

:tada: This issue has been resolved in version 1.194.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: