PSP-10953 : Surplus Declaration at Property Level#5119
PSP-10953 : Surplus Declaration at Property Level#5119eddherrera merged 12 commits intobcgov:devfrom
Conversation
# Conflicts: # source/backend/api/Controllers/LookupController.cs # source/backend/dal/Repositories/Interfaces/ILookupRepository.cs # source/backend/dal/Repositories/LookupRepository.cs # source/backend/dal/Repositories/PropertyRepository.cs # source/frontend/src/constants/API.ts # source/frontend/src/features/mapSideBar/property/tabs/propertyDetails/update/models/UpdatePropertyDetailsFormModel.ts # source/frontend/src/mocks/lookups.mock.ts
...src/features/mapSideBar/property/tabs/propertyDetails/detail/PropertyDetailsTabView.test.tsx
Fixed
Show fixed
Hide fixed
...ures/mapSideBar/property/tabs/propertyDetails/update/UpdatePropertyDetailsContainer.test.tsx
Fixed
Show fixed
Hide fixed
...ures/mapSideBar/property/tabs/propertyDetails/update/UpdatePropertyDetailsContainer.test.tsx
Fixed
Show fixed
Hide fixed
...ures/mapSideBar/property/tabs/propertyDetails/update/UpdatePropertyDetailsContainer.test.tsx
Fixed
Show fixed
Hide fixed
.../features/mapSideBar/property/tabs/propertyDetails/update/UpdatePropertyDetailsForm.test.tsx
Fixed
Show fixed
Hide fixed
devinleighsmith
left a comment
There was a problem hiding this comment.
please address codeql warnings.
|
@eddherrera are you aware that this is still in draft? please complete this ticket before working on bugs. |
| this.PropertyAreaUnitTypeCodeNavigation = areaUnit ?? throw new ArgumentNullException(nameof(areaUnit)); | ||
| this.PropertyAreaUnitTypeCode = areaUnit.Id; | ||
| Pid = pid > 0 ? pid : null; | ||
| PropertyTypeCodeNavigation = type ?? throw new ArgumentNullException(nameof(type)); |
Check warning
Code scanning / CodeQL
Virtual call in constructor or destructor Warning
| Pid = pid > 0 ? pid : null; | ||
| PropertyTypeCodeNavigation = type ?? throw new ArgumentNullException(nameof(type)); | ||
| PropertyTypeCode = type.Id; | ||
| Address = address ?? throw new ArgumentNullException(nameof(address)); |
Check warning
Code scanning / CodeQL
Virtual call in constructor or destructor Warning
| PropertyTypeCode = type.Id; | ||
| Address = address ?? throw new ArgumentNullException(nameof(address)); | ||
| AddressId = address.AddressId; | ||
| RegionCode = address.RegionCode.Value; |
Check warning
Code scanning / CodeQL
Dereferenced variable may be null Warning
| Address = address ?? throw new ArgumentNullException(nameof(address)); | ||
| AddressId = address.AddressId; | ||
| RegionCode = address.RegionCode.Value; | ||
| DistrictCode = address.DistrictCode.Value; |
Check warning
Code scanning / CodeQL
Dereferenced variable may be null Warning
| AddressId = address.AddressId; | ||
| RegionCode = address.RegionCode.Value; | ||
| DistrictCode = address.DistrictCode.Value; | ||
| PimsPropPropTenureTyps = new List<PimsPropPropTenureTyp>() { tenure }; |
Check warning
Code scanning / CodeQL
Virtual call in constructor or destructor Warning
| RegionCode = address.RegionCode.Value; | ||
| DistrictCode = address.DistrictCode.Value; | ||
| PimsPropPropTenureTyps = new List<PimsPropPropTenureTyp>() { tenure }; | ||
| PropertyAreaUnitTypeCodeNavigation = areaUnit ?? throw new ArgumentNullException(nameof(areaUnit)); |
Check warning
Code scanning / CodeQL
Virtual call in constructor or destructor Warning
| this.PropertyDataSourceEffectiveDate = DateOnly.FromDateTime(dataSourceEffectiveDate); | ||
| this.PropertyStatusTypeCodeNavigation = status ?? throw new ArgumentNullException(nameof(status)); | ||
| this.PropertyStatusTypeCode = status.Id; | ||
| PropertyDataSourceTypeCodeNavigation = dataSource ?? throw new ArgumentNullException(nameof(dataSource)); |
Check warning
Code scanning / CodeQL
Virtual call in constructor or destructor Warning
| PropertyDataSourceTypeCodeNavigation = dataSource ?? throw new ArgumentNullException(nameof(dataSource)); | ||
| PropertyDataSourceTypeCode = dataSource.Id; | ||
| PropertyDataSourceEffectiveDate = DateOnly.FromDateTime(dataSourceEffectiveDate); | ||
| PropertyStatusTypeCodeNavigation = status ?? throw new ArgumentNullException(nameof(status)); |
Check warning
Code scanning / CodeQL
Virtual call in constructor or destructor Warning
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5119 |
|
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5119 |
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5119 |
1 similar comment
|
See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/5119 |



No description provided.