Closed mariobehling closed 8 years ago
Getting an error message on live system.
@mariobehling which event ?
(seems to work fine for me here http://open-event.herokuapp.com/events/61/scheduler/ )
Maybe related to https://github.com/fossasia/open-event-orga-server/issues/976
@mariobehling No. it's unrelated to that. It's an issue with the API Validation. API wants Long abstract. But that session doesn't have it.
@aviaryan @shivamMg the validation for the session and speaker API must be dynamic based on the fields selected by the user.
@niranjan94 So long_abstract
field is not compulsary. I thought since in database, long_abstract
is not nullable, it will be compulsary.
Never mind, can you give an insight into how custom form is being stored in the database. And how can we retrieve data from it.
@aviaryan ... @SaptakS implemented that part. I think he'll be able to assist you better.
@aviaryan except for the Title of the session, none of the fields are necessarily compulsory.. It is upon organizer to decide whether he wants to make that field required. I believe we will need to make modifications in the database table for these other fields.
@SaptakS How are you storing custom forms (in session_form and speaker_form fields) in the CustomForm model ? I will need it to validate a speaker or session post/put request according to the event .
@mariobehling This issue should be fixed now.
Yes. Fixed.
I tried out event: https://open-event.herokuapp.com/events/59/scheduler/