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

Folder with null value in userModification/creationDate/modificationD… #17020

Open
wants to merge 1 commit into
base: 11.2
Choose a base branch
from

Conversation

blankse
Copy link
Contributor

@blankse blankse commented May 7, 2024

…ate/userOwner can't be saved

Changes in this pull request

Resolves #17019

Additional info

It is possible to have null in the db columns. Maybe from an old Pimcore versions without typehints or for the user columns from deleted users.

Alternative is to make the db columns not nullable and set Default Values (for Date Fields the current date)

Copy link

github-actions bot commented May 7, 2024

Review Checklist

  • Target branch (11.2 for bug fixes, others 11.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

Copy link

sonarcloud bot commented May 7, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.7% Duplication on New Code

See analysis details on SonarCloud

@blankse blankse changed the base branch from 11.x to 11.2 May 7, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Folder with null value in userModification/creationDate/modificationDate/userOwner can't be saved
2 participants