Note 'View' not displaying data for a valid contact Note
Overview
Upgrading to 5.67.1 from 5.66 has caused the View link to display a blank form for a previously populated note. If you click on 'Edit', you can see the note data.
Using Drupal 10.1.6 as the CMS
Reproduction steps
- Do a fresh installation for Drupal 10.1.x with CiviCRM 5.67.1, with the loadGenerated=1 to create some dummy contact data
- Search on all Individuals and chose a contact
- Add a note to the contact
- Click on 'View' on the newly created note - no data is displayed, the form is blank
- Click on 'Edit' on the newly created note and the correct data is present
Expected behaviour
I would expect the note data to populate the form as it has done in 5.66.x and before
Environment information
- Browser: Chrome, Edge
- CiviCRM: 5.67.1
- PHP: 8.1.x
- CMS: Drupal 10.1.6
- Database: MySQL 8.0.x
- Web Server: Apache 2.4.x
Comments
I did check recent log messages in Drupal Watchdog. There are a very large number of 'Undefined array Key 2...' generated just by opening the contact and clicking on the Note tab. It is so easy to reproduce that I have not included any of the message here.