Uncaught TypeError: Cannot read property 'replace' of undefined

Created on 11 November 2017, about 7 years ago
Updated 24 July 2024, 4 months ago

Problem/Motivation

Receiving this error when clicking a button that submits a form in an ajax modal.

Steps to reproduce

??

Proposed resolution

Adding this.url = ''; to line 402 in core/misc/ajax.js

Remaining tasks

  • Better describe reproduction steps
  • Write tests

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Ajax 

Last updated 7 days ago

Created by

🇦🇺Australia i.bajrai

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024