Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(filter): pass datetime object for PARAM_DATE #1023

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Apr 29, 2024

When you have a view with a filter on last edited (cf. screenshot), loading the view would end in an "Unknown error", actually OCA\Tables\Db\Row2Mapper - getWantedRowIds: Could not convert PHP value '2024-01-01 00:01' to type datetime. Expected one of the following types: null, DateTime, DateTimeImmutable.

Screenshot_20240429_095635

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz added bug Something isn't working 3. to review Waiting for reviews labels Apr 29, 2024
@blizzz
Copy link
Member Author

blizzz commented Apr 29, 2024

/backport to stable0.7

@backportbot backportbot bot added the backport-request Pending backport by the backport-bot label Apr 29, 2024
@blizzz blizzz merged commit 637e36a into main Apr 29, 2024
58 checks passed
@blizzz blizzz deleted the fix/noid/datetype branch April 29, 2024 08:20
@backportbot backportbot bot removed the backport-request Pending backport by the backport-bot label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants