Export profile for PDF: Inconsistent behaviour when trying to save different content options
When trying to save a PDF profile with either 'Copyright page' or 'Table of contents' selected, a message "You have unsaved changes" is displayed, and changes are not saved correctly. However, this issue doesn't occur when both options are selected simultaneously.
Expected behavior
Save a PDF profile with the selected content option successfully.
Current behavior
When trying to save or update a profile:
- Selecting only "TOC" for Content incorrectly displays "You have unsaved changes" and saves "Copyright Page" instead of "TOC."
- Selecting both "TOC" and "Title" for Content incorrectly displays "You have unsaved changes" and saves "Copyright Page" and "Title" instead of "TOC" and "Title."
- Selecting only "Copyright Page" for Content incorrectly displays "You have unsaved changes" and saves "TOC" instead of "Copyright Page."
- Selecting both "Copyright Page" and "Title" for Content incorrectly displays "You have unsaved changes" and saves "TOC" and "Title" instead of "Copyright Page" and "Title."
The other combinations of options are saved correctly.