noi-techpark / it.bz.opendatahub.epaper.webapp

0 stars 5 forks source link

Problem in scheduling events in multiple rooms #103

Open sseppi opened 1 year ago

sseppi commented 1 year ago

In case there is an event in multiple rooms at the same time, it becomes displayed only in the first room.

As example the following event: { "SpaceDescList": [ "Seminar 2", "Seminar 4" ], "SpaceDesc": "NOI Seminar 2", "SpaceType": "NO", "Subtitle": "", "RoomStartDate": "2022-09-28T08:30:00", "RoomEndDate": "2022-09-28T17:30:00", "RoomStartDateUTC": 1664346600000.0, "RoomEndDateUTC": 1664379000000.0, "EventId": 19208, "EventDescription": { "de": "Wokshop IDM", "it": "Wokshop IDM", "en": "Wokshop IDM" }, "EventDescriptionDE": "Wokshop IDM", "EventDescriptionIT": "Wokshop IDM", "EventDescriptionEN": "Wokshop IDM", "EventAnchorVenue": "NOI Seminar 2", "EventAnchorVenueShort": "NOI Seminar 2", "EventStartDate": "2022-09-27T08:30:00", "EventEndDate": "2022-09-29T17:00:00", "EventStartDateUTC": 1664260200000.0, "EventEndDateUTC": 1664463600000.0, "EventWebAddress": "", "Id": "eventshort-19208", "EventSource": "EBMS", "EventLocation": "NOI", "CompanyName": "IDM Human Resources", "ImageGallery": [], "VideoUrl": "", "ActiveWeb": null, "EventTextDE": "", "EventTextIT": "", "EventTextEN": "", "TechnologyFields": [], "CustomTagging": [], "SoldOut": false, "EventDocument": {}, "ExternalOrganizer": false } Is displayed only in the Seminar room 2 and not in the Seminar Room 4.

We need to identify a way to show the event in all rooms.

dulvui commented 1 year ago

The problem is that the Event Scheduler in the API only uses "SpaceDesc": "NOI Seminar 2" to get the location of the event and not "SpaceDescList": [ "Seminar 2", "Seminar 4" ]. I will try to solve the issue next week.

sseppi commented 1 year ago

Hi Simon, it is exactly what I thought it could be ;-). If you can fix it, it would be super! Thanks Stefano

dulvui commented 1 year ago

The problem is fixed now and live on testingmachine. Lets wait until an event takes place in 2 rooms and see if it shows up correct on testingmachine.