No Code Attached Yet bug
avatar rytechsites
rytechsites
25 Feb 2025

Steps to reproduce the issue

Login to front end
Find article
select SAVE AS COPY
The alias remains the same as the old (adds a # next to it)

Problem: When you save as copy, if you give the article a new title, there is no opportunity to blank out the alias so it can reset with the new article title.

Expected result

When the article is saved on the front end there is no chance to give the article the 'correct title', and adjust the alias
Possibly include the 'alias' as an option in the Publishing tab so you can edit it

Actual result

Alias is saved with the old article title and a #

System information (as much as possible)

Additional comments

avatar rytechsites rytechsites - open - 25 Feb 2025
avatar rytechsites rytechsites - change - 25 Feb 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 Feb 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Feb 2025
avatar chmst chmst - change - 25 Feb 2025
Labels Added: bug
avatar chmst chmst - labeled - 25 Feb 2025
avatar rytechsites
rytechsites - comment - 25 Feb 2025

Consider adding Alias to EDIT ARTICLE. Currently, it exists on NEW ARTICLE, but not on EDIT.

If there is a concern that you can 'duplicate' an alias, then Joomla should return an error if that alias already exists.

  • Laura
avatar chmst chmst - change - 25 Feb 2025
Title
Save as Copy - Front end - should reset alias
[5.2] Save as Copy - Front end - should reset alias
avatar chmst chmst - edited - 25 Feb 2025
avatar rytechsites
rytechsites - comment - 26 Feb 2025

@chmst is this a bug? In sequencing when you 'save as copy' the article is saved at that moment, so it will automatically take on the article title and add a # after it... this way the alias is unique. Technically it is doing what it should... However from a user standpoint the front end user does not have the ability to change the alias, so once they change the title of the article, the alias is very wrong, and the article url will never be correct.

Would it be better to just 'display' the alias on the save as copy, this way the user can change it if needed?

Olivier mentioned the concerned of duplicate articles, but if that happened, I assume that joomla would error on the save, stating that there is already an article with that alias.

Add a Comment

Login with GitHub to post a comment