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

🐛 [Core] Fixed handling of null KapuaSession on prePersist and preUpdate operation in KapuaEntity #4176

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

Conversation

Coduz
Copy link
Contributor

@Coduz Coduz commented Jan 17, 2025

Fixed handling of KapuaSession when null

Related Issue
None

Description of the solution adopted
Added a null check

Screenshots
None

Any side note on the changes made
None

…ate operation in KapuaEntity

Signed-off-by: Alberto Codutti <[email protected]>
@Coduz Coduz added the Bug This is a bug or an unexpected behaviour. Fix it! label Jan 17, 2025
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 16.70%. Comparing base (88f427b) to head (425f96b).

Files with missing lines Patch % Lines
...lipse/kapua/commons/model/AbstractKapuaEntity.java 50.00% 0 Missing and 1 partial ⚠️
...ua/commons/model/AbstractKapuaUpdatableEntity.java 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #4176      +/-   ##
=============================================
- Coverage      16.70%   16.70%   -0.01%     
  Complexity        22       22              
=============================================
  Files           2039     2039              
  Lines          53024    53026       +2     
  Branches        4453     4454       +1     
=============================================
  Hits            8860     8860              
  Misses         43761    43761              
- Partials         403      405       +2     
Files with missing lines Coverage Δ
...lipse/kapua/commons/model/AbstractKapuaEntity.java 96.42% <50.00%> (-3.58%) ⬇️
...ua/commons/model/AbstractKapuaUpdatableEntity.java 79.54% <50.00%> (-1.85%) ⬇️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it!
Projects
Status: In Progress
Status: In Progress
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant