nens / servicedesk-issue-only

This repository will be used primarily by the service desk to report issues which will then be moved by the teamleads
0 stars 0 forks source link

[3Di]: Redirected to start even if chosen to stay in selected model (productie) #100

Open GeOdin opened 2 years ago

GeOdin commented 2 years ago

Contact Details

No response

Topdesk URL (API)

No response

Incident Type

Feedback

What priority should we assign to this submission?

No response

3Di component

Livesite

What happened?

When you choose to stay in the model after the simulation has ended you get redirected to the start page (3di.live) even if you choose to stay in the model. This happens I think if you don't do anything after selecting that you want to stay in the simulation for 10 seconds.

How to Reproduce?

Open the live site (3di.live) Start a model (I think any model will do) Let it run for quite some time After some time, you get the notification that the simulation has ended. Choose stay instead of leave the model Don't do anything for about 10 seconds (I am not sure if it also happens if you do something or if you do anything and than have 10 seconds of inactivity) You automatically get redirected to the start page (3di.live) and leave the model

What did you expect and what was the actual result?

I expected that I would stay on the model page if I selected that I would like to stay on the model page. I would not expect that I would be redirected to the start page (3di.live) after selecting that I would like to stay on the model page.

Add screenshots, video's etc

20220825 - 3di live - model on for long dialog want to leave

20220825 - 3di live - model on for long dialog want to leave - blijf

20220825 - 3di live - model on for long dialog want to leave - blijf back to model

20220825 - 3di live - model on for long dialog want to leave - blijf back to model but shortly redirected to start without own intervening after 10 sec

Relevant log output

Simulation is not active Simulation is not active 

(anonymous) @ WebsocketMiddleware.tsx:268 

eval @ createMiddleware.ts:70 

eval @ createMiddleware.ts:70 

eval @ createMiddleware.ts:70 

eval @ createMiddleware.ts:70 

eval @ createMiddleware.ts:70 

eval @ createMiddleware.ts:70 

eval @ createMiddleware.ts:70 

eval @ createMiddleware.ts:70 

eval @ createMiddleware.ts:70 

dispatch @ redux.js:659 

eval @ ReduxWebSocket.ts:148 

eval @ ReduxWebSocket.ts:79 

simulation.ts:329 Unknown Websocket message (1): object {error: 'Simulation is not active'}error: "Simulation is not active"[[Prototype]]: Object

Additional info

I was wondering something, maybe this is done to prevent users from using time when they are inactive or preventing inactive users from using sessions? If this is done to protect users from using calculation time in time when they atre not actively using the model, maybe it would be nice to give a notification that they will be redirected to the main page after 10 sec of inactive when they select they would like to stay in the model? That makes me wonder, if the simulation has ended, does the time in the simulation still adds up to the time used for the organisation? or is it also to prevent sessions from being blocked by inactive users? If any of these two reasons is applicable. Would it be nice to give this to the user in some form of feedback/ notification in advance?

Good luck! :)

GeOdin commented 2 years ago

Note: it could also be that I had the model on pauze for some time.