Open JaccoBeech opened 3 months ago
I think that this is not directly related to the extension: Fluid doesn't seem to have a valid request object in its rendering context in that situation, which can lead to other problems.
Can you give a few more details?
I have a custom extension. In the layout html of the extension the assets are loaded.
<vac:asset.vite entry="EXT:blablausers/Resources/Private/Assets/BlaUsers.entry.js" />
Then I have in the editAction a form, which is displayed correctly using the assets:
<f:form class="row g-3" id="updform" action="updateUserData" name="user" object="{user}">
After submitting the form to the action
updateUserData
I get
Praetorius\ViteAssetCollector\Service\ViteService::determineDevServer(): Argument #1 ($request) must be of type Psr\Http\Message\ServerRequestInterface, null given, called in /var/www/html/vendor/praetorius/vite-asset-collector/Classes/ViewHelpers/Asset/ViteViewHelper.php on line 65
While running
ddev vite-serve start