You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pull request pr:43992 improves the SEF behavior of Joomla. While the name of the PR suggest, it does not 'fix' wrong parent ID's or the alias it 'adds' missing ones.
On a default installation, the editor adds links to articles without the aliases. Thus, a database query is required to retrieve them.
And following the logic in the comment, the link added by the editor should contain the category alias as well. Or the PreprocessRules should always add them. And probable correct wrong ones.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Pull request pr:43992 improves the SEF behavior of Joomla. While the name of the PR suggest, it does not 'fix' wrong parent ID's or the alias it 'adds' missing ones.
On a default installation, the editor adds links to articles without the aliases. Thus, a database query is required to retrieve them.
As the comment in the new file https://github.com/joomla/joomla-cms/blob/5.3-dev/libraries/src/Component/Router/Rules/PreprocessRules.php suggest the ID should always contain the (article) alias.
And following the logic in the comment, the link added by the editor should contain the category alias as well. Or the PreprocessRules should always add them. And probable correct wrong ones.
Beta Was this translation helpful? Give feedback.
All reactions