User tests: Successful: Unsuccessful:
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).
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)."
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 .
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings |
Title |
|
Labels |
Added:
?
?
|
Corrected, thanks Brian
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.
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.
I have tested this item
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Ready to Commit after two successful tests.
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:
?
|
@laoneo @Bakual is this the expected behavior? that you can only create one field with the same name over the cms?