Opened 5 years ago

Closed 5 years ago

#12052 closed (invalid)

If has TEMPLATE_STRING_IF_INVALID set, adding new user from admin doesn't work

Reported by: anonymous Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:



http://localhost/admin/auth/user/add/ site has then "ANYTHING" in top of the page and this kind of HTML: <form action="ANYTHING" method="post" id="user_form">

When TEMPLATE_STRING_IF_INVALID = 'ANYTHING' is commented, adding user works.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by lukeplant

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

The documentation clearly states that using this setting for anything other than template rendering debugging will cause breakage:

(and that section is linked from the section about TEMPLATE_STRING_IF_INVALID in the settings reference.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.