quarkus-omnifaces icon indicating copy to clipboard operation
quarkus-omnifaces copied to clipboard

org.omnifaces.FACES_VIEWS_SCAN_PATHS only works when running with quarkus:dev

Open zakhdar opened this issue 2 years ago • 7 comments

Extensionless mapping only seems to work when running the application with quarkus:dev.

After packaging the app with: mvn package and running the final jar, nothing happens. There is no error message, just a not found blank page

see 83

zakhdar avatar Jan 29 '23 16:01 zakhdar

I think the underlying issue I reported to Quarkus https://github.com/quarkusio/quarkus/issues/28028

melloware avatar Jan 29 '23 17:01 melloware

Also yeah more info here: https://github.com/omnifaces/omnifaces/issues/708

Make sure to go upvote or comment on that Quarkus ticket please!

melloware avatar Jan 29 '23 17:01 melloware

ok, thank you for your support

zakhdar avatar Jan 29 '23 21:01 zakhdar

I got to the bottom of the issue! https://github.com/quarkusio/quarkus/issues/28028#issuecomment-1627198432 Now hopefully Quarkus team will chime in whether its a Quarkus or Undertow bug...

melloware avatar Jul 08 '23 12:07 melloware

@all-contributors add @zakhdar for bug

melloware avatar Jun 23 '24 14:06 melloware

@melloware

I've put up a pull request to add @zakhdar! :tada:

allcontributors[bot] avatar Jun 23 '24 14:06 allcontributors[bot]

Thanks to @tandraschko this will be fixed in next MyFaces (https://issues.apache.org/jira/browse/MYFACES-4707) release so in Quarkus you can use...

    <context-param>
        <param-name>jakarta.faces.AUTOMATIC_EXTENSIONLESS_MAPPING</param-name>
        <param-value>true</param-value>
    </context-param>

You won't need to use the OmniFaces version of this.

melloware avatar Jan 10 '25 14:01 melloware