Mejor mensaje de error para textos "user_notifications.confirm_old_email" no editables

Las siguientes dos cadenas faltan en la última versión (Discourse 2.3.0.beta5).

1. requestedUrl: "/admin/customize/site_texts/user_notifications.confirm_old_email.subject_template"
2. responseJSON: {errors: Array(1), error_type: "not_found"}
3. responseText: "{"errors":["No se pudo encontrar la URL o recurso solicitado."],"error_type":"not_found"}"

1. requestedUrl: "/admin/customize/site_texts/user_notifications.confirm_old_email.subject_template"
2. responseJSON: {errors: Array(1), error_type: "not_found"}
3. responseText: "{"errors":["No se pudo encontrar la URL o recurso solicitado."],"error_type":"not_found"}"
2 Me gusta

The ability to edit those strings was removed last May as a reaction to a social engineering attack.

I guess there should be a friendly error message instead of a generic error 404 to make it less confusing.

8 Me gusta

Opened a PR :slight_smile:

https://github.com/discourse/discourse/pull/7304

6 Me gusta