? ? ? Pending

User tests: Successful: Unsuccessful:

avatar stellainformatica
stellainformatica
17 May 2017

Steps to reproduce the issue

Try to create a custom field (i.e. in contacts) that has the same name of a custom field created for another extension (i.e. contents).

Expected result

The ideal would be to let creating custom fields with the same name, if they are associated to different extensions, but, if not possible, a message should explain better why that field already exists.
I've modified the message like this:
COM_FIELDS_ERROR_UNIQUE_NAME="Another Field has the same name (remember it may be a trashed item or it may be already present as custom field in another extension)."

Actual result

appears this message:
"Save failed with the following error: Another Field has the same name (remember it may be a trashed item)."

Pull Request for Issue #16070 .

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
4.00

avatar stellainformatica stellainformatica - open - 17 May 2017
avatar stellainformatica stellainformatica - change - 17 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 May 2017
Category Administration Language & Strings
avatar stellainformatica stellainformatica - change - 17 May 2017
Title
Update en-GB.com_fields.ini
[com_fields] Error message when creating a field with a name already existing
avatar stellainformatica stellainformatica - edited - 17 May 2017
avatar stellainformatica stellainformatica - change - 17 May 2017
The description was changed
avatar stellainformatica stellainformatica - edited - 17 May 2017
avatar zero-24
zero-24 - comment - 17 May 2017

@laoneo @Bakual is this the expected behavior? that you can only create one field with the same name over the cms?

avatar stellainformatica stellainformatica - change - 17 May 2017
Labels Added: ? ?
avatar stellainformatica
stellainformatica - comment - 17 May 2017

Corrected, thanks Brian

avatar laoneo
laoneo - comment - 17 May 2017

I see no limitation as it will be not possible to have two fields for two extensions on one form. I would rather break up that restriction than this pr.

avatar Bakual
Bakual - comment - 17 May 2017

I see no limitation as it will be not possible to have two fields for two extensions on one form. I would rather break up that restriction than this pr.

The problem isn't the name of the field (which needs to be unique per form). It's the id of the field (which needs to be unique per page). And since you in theory can have multiple forms per page, that field name/id has to be unique sitewide.

avatar BertaOctech
BertaOctech - comment - 24 Aug 2018

I have tested this item successfully on f3cc64f


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

avatar BertaOctech
BertaOctech - comment - 24 Aug 2018

I have tested this item successfully on f3cc64f


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

avatar BertaOctech BertaOctech - test_item - 24 Aug 2018 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 25 Aug 2018 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Aug 2018

I have tested this item successfully on f3cc64f


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Aug 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Aug 2018

Ready to Commit after two successful tests.

avatar mbabker mbabker - change - 3 Sep 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-09-03 17:17:45
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 3 Sep 2018
avatar mbabker mbabker - merge - 3 Sep 2018

Add a Comment

Login with GitHub to post a comment