fossasia / open-event-server

The Open Event Organizer Server to Manage Events https://test-api.eventyay.com
https://api.eventyay.com
GNU General Public License v3.0
2.98k stars 1.89k forks source link

Scheduler: Cannot drag and drop items #953

Closed mariobehling closed 8 years ago

mariobehling commented 8 years ago

I tried out event: https://open-event.herokuapp.com/events/59/scheduler/

mariobehling commented 8 years ago
mariobehling commented 8 years ago

Getting an error message on live system.

screenshot from 2016-06-18 11 41 38

niranjan94 commented 8 years ago

@mariobehling which event ?

(seems to work fine for me here http://open-event.herokuapp.com/events/61/scheduler/ )

mariobehling commented 8 years ago

http://open-event.herokuapp.com/events/50/scheduler/

mariobehling commented 8 years ago

Maybe related to https://github.com/fossasia/open-event-orga-server/issues/976

niranjan94 commented 8 years ago

@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.

aviaryan commented 8 years ago

@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.

niranjan94 commented 8 years ago

@aviaryan ... @SaptakS implemented that part. I think he'll be able to assist you better.

SaptakS commented 8 years ago

@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.

aviaryan commented 8 years ago

@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 .

aviaryan commented 8 years ago

@mariobehling This issue should be fixed now.

niranjan94 commented 8 years ago

Yes. Fixed.