vaadin / collaboration-engine

The simplest way to build real-time collaboration into web apps
https://vaadin.com/collaboration
Other
3 stars 1 forks source link

[BUG] https://start.vaadin.com/app failed with collaborative-master-detail #52

Open letrthang opened 3 years ago

letrthang commented 3 years ago

Vaadin 20, Java 11.

generated project (repo) from https://start.vaadin.com/app. Selected collaborative-master-detail with default options.

when runs the project will throw exception. tried many times. com.vaadin.flow.router.NotFoundException: Couldn't find route for 'collaborative-master-detail'

image

image

ZheSun88 commented 3 years ago

Hi @letrthang,

Thanks for using Vaadin 20.

Regarding the issue you have reported, i just checked your repo. under the views folder, the collaborativemasterdetail view doesn't exist, so I believe this is related to the route error.

Have you modified the code?

Zhe

gtzluis commented 3 years ago

Hi @letrthang,

Currently Collaboration Engine is only supported with Vaadin Flow, so I'm thinking this is the issue when you have selected Fusion in the "Type" and changing it to Flow might fix this.

There's already a ticket to improve how this is explained in Vaadin Start, so we're gonna work on making it less confusing.

I'm interested to know, would you want to use CE specifically for Fusion? If so, what would you see as the main advantages for that?

Luis

letrthang commented 3 years ago

Thanks for sharing. you are right. in the proj setting, I selected UI = hybrid. And I randomly set views with different UI type as Flow Java only, Flow Java + HTML and Fusion to see how hybrid mode works on Vaadin 20.

For Collaboration Engine, from UI point of view, honestly i still don't see much different between Master-Detail vs Collaborative Master-Detail. Maybe, there are somethings new on CE that I didn't know ?

Anyway, still get error message on CE but it works (after changed UI = Flow Only Java): (TypeError) : Cannot read properties of undefined (reading 'redraw')

image