Hi,

I found a problem that field translation page shows 403.
Attach the patch with fix.

It can be reproduced by steps below.

  1. Install Drupal(8.2.5) with 'Standard' profile
  2. Enable module 'Configuration Translation' and 'Telephone Validation'
  3. Add language in /admin/config/regional/language
  4. Access /admin/structure/types/manage/page/fields
  5. Select 'Translate' link in operations column for Body field

Comments

hayashi created an issue. See original summary.

zaporylie’s picture

Status: Active » Needs work

Thanks for catching this issue and reporting here. I was in fact able to reproduce this issue.

+++ b/config/schema/telephone_validation.schema.yml
@@ -1,4 +1,4 @@
+field.widget.third_party.telephone_validation:

Third party settings are stored on field, not a widget. I think something like field.field.*.third_party.telephone_validation would suit better here. What do you think?

zaporylie’s picture

Status: Needs work » Needs review
StatusFileSize
new397 bytes

Something like this

  • zaporylie committed 68d123f on 8.x-2.x
    Issue #2898171 by hayashi, zaporylie: Field translation page shows 403
    
zaporylie’s picture

Status: Needs review » Fixed
+++ b/config/schema/telephone_validation.schema.yml
@@ -1,4 +1,4 @@
+field.field.*.third_party.telephone_validation:

Changed to field.field.*.*.*.third_party.telephone_validation on commit.

hayashi’s picture

I think you are right. Thanks for the fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.