Reference in New Issue
Block a user
Delete Branch "fix/release-blockers-97-98"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the two release blockers found in the deep-dive audit.
#97 — Fatal frontend 500 from scalar custom JSON-LD
MokoOGContent::validateJson()now requires a JSON object/array — scalars (42,"x",true) that previously passed validation and were stored are rejected.MokoOGrender path guards withis_array($decoded)before writing@context, so any already-stored scalar payload can no longer crash the public page (defense-in-depth).#98 — Missing single-tag create/edit admin UI
The form/model/table existed but had no controller/view/template, so the admin component was read-only.
Controller/TagController(FormController),View/Tag/HtmlView,tmpl/tag/edit.php.tmpl/tagfolder declared in the manifest (so it ships).tag.xml: cross-packagePLG_CONTENT_*labels →COM_MOKOOG_*;content_type/content_idmade editable + required (enables New); added alanguagefield so the full unique key is controllable.COM_MOKOOG_*strings added to en-GB and en-US.Bonus — #77
Corrected
seo_title/meta_descriptionformmaxlengthto match the DB columns (70 / 200) instead of 255, resolving the reopened maxlength issue.Verification
All changed/new PHP pass
php -l;tag.xmlandmokoog.xmlparse. Manual runtime test on Joomla still recommended (create + edit a tag, save a scalar into custom_schema and confirm no 500).Closes #97, #98, #77.
🤖 Generated with Claude Code