Thanks, works great and we could revert our workaround. :+1:
We have quite a few acceptance tests run by CodeCeption/Webdriver which, among others, fill date picker fields managed by v-calendar. This did work fine using
fillField() up until v3.0.0-alpha.8. However, with v3.0.0 this started to fail.
Debugging the test runs which fortunately are recorded as video we saw that filling the field this way leads to broken input: previously the existing date value from the input field was overwritten as desired. Now e.g. entering
23.03.2023 leads to a value like
NaN.NaN.0NaN. (We use
locale: 'de' for the datepicker, thus the date format is
After some investigation we found that
fillField() internally first uses
clear() to empty the field and then inputs the desired value via
sendKeys(). Evidently after
clear() some processing/validation is going on leading to the broken input.
The solution which did work for us was using
pressKey() to first select the existing value using
A followed by the actual input which then overwrites the previous value:
$I->pressKey( // Use selector for date picker field ..., // Select existing text ['ctrl', 'a'], // Overwrite with new value ..., );
Not sure if this is something v-calendar can or should fix but we wanted to be sure this issue is mentioned somewhere with a solution to be found by others.
The variable $argv does not exist:
This was reported in https://github.com/TYPO3/Fluid/issues/691 already, please use the search before posting issues. ;-)
When I run the
flow flow:package:rescan I get the following error. The error does not occur with version 2.7.2.
Error: Warning: Undefined variable $argv in /data/neos/Packages/Libraries/typo3fluid/fluid/src/Tools/console.php line 22
Assuming a Compose service
app using this Docker image and
phpstan/phpstan is installed via Composer, running its binary
vendor/bin/phpstan should work without the path prefix
± docker compose exec app phpstan Note: Using configuration file /var/www/html/phpstan.neon. 453/453 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% [OK] No errors
Trying to run a Composer binary without path fails:
± docker compose exec app phpstan OCI runtime exec failed: exec failed: unable to start container process: exec: "phpstan": cannot run executable found relative to current directory: unknown
This seems to be related to Go 1.19 which dropped support for executing commands from the current directory (a "dot path") as a security measurement. Obviously the Docker engine did upgrade to this Go version in the meantime.
This Docker image adds (among others)
vendor/bin to the
$PATH which did allow for running Composer binaries so far but this has stopped working now:
Use absolute paths in the
/usr/src/app/vendor/bin instead of just
vendor/bin depending on CLI/FPM/Apache variant.
execto run that binary just by its name
Developing PHP-based apps. ;-)
This PR contains the following updates:
| Package | Type | Update | Change |
| phpunit/phpunit (source) | require-dev | major |
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.
This needs an update of
[TASK] Exclude PHPUnit cache from dist archive
[TASK] Exclude PHPStan config from dist archive
[TASK] Exclude vendor directory from dist archive
Merge pull request #36 from pagemachine/export-ignore
Update dist archive exclusions
[TASK] Add test for keeping empty lines and comments
Merge pull request #35 from pagemachine/test-keep-empty-lines-comments
Add test for keeping empty lines and comments
I squashed all commits into one and added a missing exception import. Thanks for the contribution!
This was released now: https://github.com/pagemachine/authorized-keys/releases/tag/2.2.0
[FEATURE] Add fluent interface
Merge pull request #34 from vokeit-gschuster/master
Add fluent interface
Added fluent interface and fromFile() for PublicKey