CSV import action has no admin UI trigger (unreachable feature) #103
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
ImportExportController::import()is fully implemented (validation, dedup by unique key, language handling) andCOM_MOKOOG_TOOLBAR_IMPORTis defined, but the UI never exposes it:View/Tags/HtmlView::addToolbar()(src/View/Tags/HtmlView.php:81-88) adds no import button, andtmpl/tags/default.phphas no file-upload form. The import code path is orphaned/dead from the UI.(Export is reachable; only import is missing its trigger.)
Fix
jform[csv_file]) posting totask=importexport.import.Session::checkToken()).Related
Branch created:
feature/103-csv-import-action-has-no-admin-ui-triggeFixed in PR #111 (merged to
dev). Added an Import toolbar button that toggles a multipart file-upload form (jform[csv_file]) posting toimportexport.importwith a CSRF token. Closing.