User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Since the if query checks whether response.error exists, it should also be output. I corrected that.
Code review
| Status | New | ⇒ | Pending |
| Category | ⇒ | JavaScript Installation |
OK, thank you. But in this case we should check if message exist, right?
if (response.error && response.message) { in line 33.
So if the error property exists and is true there should always be a message property (if you look at the code). So there shouldn't be a need to as long as the code remains as it is.
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-03-14 09:43:51 |
| Closed_By | ⇒ | astridx | |
| Labels |
Added:
?
|
||
This isn't right. error is just a boolean. message contains the actual information to be rendered https://github.com/joomla/joomla-cms/blob/4.0-dev/installation/src/Response/JsonResponse.php#L65