Update News Feed ID in Single News Feed menu item - MySQL #27100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Pull Request for Issue # .
No Issue Registered
Summary of Changes
At present the News Feed ID mentioned/chosen in the SQL of the menu item with title Single News Feed is 4. Whereas there are only three News Feed Items defined in the Sample Data Learn and their IDs are 1, 2, and 3. So, there is no News Feed item with ID 4. This results in error when the menu item Single News Feed is chosen in the front end when the Sample Data Learn is installed.
Testing Instructions
(a) Install Joomla! with Sample Data LEARN. Choose this option while installing Joomla!
(b) View the site
(c) On the site, in the menu "About Joomla!", click on the menu item "Single News Feed"

Expected result
Actual result
Documentation Changes Required
There are only three News Feed Items Defined in the Sample Data (Learn) and their IDs are 1, 2, and 3. See the following image.

Where as in the insert statement of SQL for the menu item "Single News Feed", the ID is mentioned as 4. This results in the error. See the image below:

If the ID is changed to an ID of a News Feed item that is present (example: 2), the error will not show and the correct news feed would be shown.

Note:
The testing cannot be done with Patch Tester. First testing must be done just by installing Joomla! The second test also must done as a fresh install. However, after unzipping the files, the modified file/files has/have to be copied from Github. This action will overwrite the appropriate sample data files. After that, the installation dialog has to be invoked.