defpostcode_full# TODO: CLDC-4119: Beware! This method may cause issues when testing supported housing log duplicate detection after postcode is added, as it can return `location.postcode` instead of the actual `postcode_full` stored on the log record (`super`). If this happens, investigate why it isn't returning `super`, as it should when `form.start_year_2026_or_later? && super`.
@ -296,7 +296,7 @@ RSpec.describe BulkUpload::Lettings::Year2026::RowParser do
:field_13,# tenancycode
:field_23,# postcode_full
:field_24,# postcode_full
:field_25,# postcode_full
:field_25,# LA
:field_42,# age1
:field_43,# sex1
:field_46,# ecstat1
@ -327,7 +327,7 @@ RSpec.describe BulkUpload::Lettings::Year2026::RowParser do
end
end
context"when a supported housing log already exists in the db"do
context"when a supported housing log already exists in the db"do# TODO: CLDC-4119: Beware! The `postcode_full` method in the `LettingsLog` class may cause issues with these supported housing log duplicate detection tests after postcode is added. See comment on the `postcode_full` method for details.