---
id: change/bcapps/9453
type: change
title: "#9453 [Bug 642248] Header/Footer Theme Assignment: persist selected layout (missing Rec.Modify)"
summary: A data-persistence bug on the Header/Footer Theme Assignment page is fixed by adding a missing Rec.Modify() call, ensuring selected header and theme parts are saved to the database. A minor caption casing fix is also applied to the Report Layouts page.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - page header/footer theme assignment
  - page report layouts
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:34.610Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 34a2fe00555335e94d93d26aa6ee1b2776f3f7b6
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9453
    title: "microsoft/BCApps#9453: [Bug 642248] Header/Footer Theme Assignment: persist selected layout (missing Rec.Modify)"
    date: "2026-07-15"
    commit: 34a2fe00555335e94d93d26aa6ee1b2776f3f7b6
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/9667
    - object/page/9660
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9453
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9453
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-15T14:20:44Z"
author: v-mortenr
author_type: User
community_contribution: false
labels:
  - "ADO: Sync"
  - Bug
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 3
  deletions: 1
  al: 2
apps:
  - Base Application
objects_touched:
  - key: page/9667
    page: page/9667
    type: page
    id: 9667
    name: Header/Footer Theme Assignment
    app: Base Application
    status: modified
  - key: page/9660
    page: page/9660
    type: page
    id: 9660
    name: Report Layouts
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 642248
systems:
  - development
  - platform
quote: null
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #9453 [Bug 642248] Header/Footer Theme Assignment: persist selected layout (missing Rec.Modify)

> A data-persistence bug on the Header/Footer Theme Assignment page is fixed by adding a missing Rec.Modify() call, ensuring selected header and theme parts are saved to the database. A minor caption casing fix is also applied to the Report Layouts page.

[Pull request](https://github.com/microsoft/BCApps/pull/9453) · merged into `main` (BC30) on 2026-07-15 by v-mortenr · 2 files (+3 -1), 2 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Added Rec.Modify() calls in lookup handlers for header and theme part assignments
- Selections on the Header/Footer Theme Assignment page now persist after navigation
- Caption text corrected from 'Composite Layout' to 'Composite layout' on Report Layouts page
- No schema or permission changes required
- Low-risk fix with manual verification testing
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 9667 "Header/Footer Theme Assignment"](../../objects/page/9667.md), Base Application: modified
- [Page 9660 "Report Layouts"](../../objects/page/9660.md), Base Application: modified

## Context

- Work items: AB#642248
- Labels: ADO: Sync, Bug
- Systems: development, platform

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
