Skip to content

Commit bdba378

Browse files
committed
pacthed a bug
1 parent f763951 commit bdba378

4 files changed

Lines changed: 16 additions & 2 deletions

File tree

CSM Security Database Core/CSM Security Database Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</ItemGroup>
2222

2323
<ItemGroup>
24-
<PackageReference Include="CSM.Database.Core" Version="4.2.3" />
24+
<PackageReference Include="CSM.Database.Core" Version="4.3.0" />
2525
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.3">
2626
<PrivateAssets>all</PrivateAssets>
2727
<IncludeAssets>runtime; build; native; analyzers; buildtransitive</IncludeAssets>

CSM Security Database Testing/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# CSM Security Database Testing CHANGELOG
22

3+
## [2.0.1] - 10.03-2026
4+
5+
### Patch
6+
7+
- Fixed at [DraftUtils] an error where drafting an [User] it wasn´t drafting its [UserInfo] when there´s no one.
8+
9+
#### Dependencies
10+
11+
| Package | Previous Version | New Version |
12+
|:----------------------------------------|:----------------:|:---------------:|
13+
| CSM.Foundation.Core | 3.0.1 | 3.0.1 |
14+
| CSM.Database.Testing | 5.0.0 | 5.0.0 |
15+
316
## [2.0.0] - 15.02-2026
417

518
### Patch

CSM Security Database Testing/CSM Security Database Testing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFramework>net10.0</TargetFramework>
44
<RootNamespace>CSM_Security_Database_Testing</RootNamespace>
55
<PackageId>CSM.Security.Database.Testing</PackageId>
6-
<Version>2.0.0</Version>
6+
<Version>2.0.1</Version>
77
<Authors>Renato Urrea</Authors>
88
<Company>Cosmos (CSM)</Company>
99
<RepositoryUrl>https://github.com/Cosmos-CSM/csm_security_database</RepositoryUrl>

CSM Security Database Testing/Utils/DraftUtils.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ static public class DraftUtils {
3333
/// </returns>
3434
static public User User(User? @ref = null) {
3535
@ref = BaseDraftUtils.Entity(@ref);
36+
@ref.UserInfo ??= UserInfo();
3637

3738
if (string.IsNullOrWhiteSpace(@ref.Username)) {
3839
@ref.Username = $"{Epy}_usr";

0 commit comments

Comments
 (0)