?
avatar ReLater
ReLater
11 Sep 2017

Steps to reproduce the issue

  • In Module Manager select/check a module.

  • Click button Duplicate.

  • The title of copy has a postfix (2).

  • Now open a module by clicking the title link.

  • Click button Save as Copy.

  • The title of copy gets a postfix (copy).

11-09-_2017_12-17-29

Expected result

Should be the same kind of suffix in both cases. I would prefer language independent numbering.

System information (as much as possible)

Current staging (2017-09-11) and earlier J! versions

avatar ReLater ReLater - open - 11 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 11 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Sep 2017
avatar ReLater ReLater - change - 11 Sep 2017
The description was changed
avatar ReLater ReLater - edited - 11 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Sep 2017
Category com_modules
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Sep 2017
Status New Confirmed
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 11 Sep 2017

Issue confirmed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17932.

avatar akritianand
akritianand - comment - 13 Sep 2017

Can anybody tell me which function is executed when duplicate button is clicked? I cant find anything that is attached to it.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17932.

avatar ReLater
ReLater - comment - 13 Sep 2017

which function is executed when duplicate button is clicked?

It starts here (modules controller called by button with Joomla.submitbutton('modules.duplicate');:

https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_modules/controllers/modules.php#L28

and then processed inside the module model

https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_modules/models/module.php#L385

avatar akritianand
akritianand - comment - 13 Sep 2017

Thank you @ReLater


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17932.

avatar franz-wohlkoenig franz-wohlkoenig - change - 14 Sep 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-09-14 06:06:48
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 14 Sep 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 14 Sep 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 14 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 14 Sep 2017

closed as having Pull Request #17951


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17932.

Add a Comment

Login with GitHub to post a comment