Skip to content

Builds no longer work with Vaadin Flow 23.3.27 and vcf-date-range-picker 4.0.1 #40

@pgould-taskize

Description

@pgould-taskize

After last week's release of Vaadin Flow 23.4.0, existing builds using Vaadin 23.3.27 and vcf-date-range-picker 4.0.1 have stopped working.

Upon browsing to http://localhost:8080, the following is written to the console and the application just hangs (with blue loading bar):

Uncaught (in promise) DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "vaadin-overlay" has already been used with this registry
    at window.customElements.define (http://localhost:8080/:4:829)

To reproduce in a minimal fashing, I created the following Vaadin starter app:

image

Set the vaadin.version to 23.3.27:

        <vaadin.version>23.3.27</vaadin.version>

and added the vcf-date-range-picker dependency:

        <dependency>
            <groupId>com.vaadin.componentfactory</groupId>
            <artifactId>vcf-date-range-picker</artifactId>
            <version>4.0.1</version>
        </dependency>

Build and start the app:

mvn clean install
java -jar target/spring-skeleton-1.0-SNAPSHOT.jar

Navigate to http://localhost:8080. Look at the console logs - the DOMException is shown.

Here is the sample app for your convenience:

skeleton-starter-flow-spring-23.3.27.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions