User tests: Successful: Unsuccessful:
API tests for following endpoints:
That silent error seems wrong to me, we shouldn't ignore modification requests without noticed, actually the exception is right from my point of view. the patch request shouldn't include a the template in the first place
patch
template
the problem is that even if you don't include template in the payload of the PATCH request as per https://github.com/joomla/joomla-cms/blob/4.4-dev/libraries/src/MVC/Controller/ApiController.php#L397-L406 it's included as well, there are some keys like template and or password that for PATCH needs some extra management done in the preprocessSaveData
password
preprocessSaveData
That silent error seems wrong to me, we shouldn't ignore modification requests without noticed, actually the exception is right from my point of view. the
patch
request shouldn't include a thetemplate
in the first place