User tests: Successful: Unsuccessful:
Pull Request for Issue # #29825.
If the accessiblemedia field within in a subfield, value is an object stdClass. I extended the check for this. Also, I added the unit tests for the field and do not use $field->apivalueany more because the name is misleading and it is not possible in a subfield custom field.
Please test like explained here: #27712
Please also check whether the media custom field can be used within a subform custom field. Note: If you insert the media custom field in a subform custom field, you can only select (when editing the article) an image file after you have saved the article. This issue is not related to this PR. Please see #26711.
Check also the rendering in the front end for the custom field of type media and subfield incluing media field.
Yes
| Status | New | ⇒ | Pending |
| Category | ⇒ | Libraries Front End Plugins Unit Tests |
| Labels |
Added:
?
?
|
||
| Labels |
Added:
?
Removed: ? |
||
The API Value allows you to override the value returned by the API application. Nothing more.
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-07-01 23:44:31 |
| Closed_By | ⇒ | wilsonge | |
| Labels |
Added:
?
Removed: ? |
||
Thanks!
I have tested this item✅ successfully on 62c45d2
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29840.