{"record":{"id":"cda0885491b6f21a","repo":"octobercms/october","slug":"please-specify-some-columns-to-import","errorCode":null,"errorMessage":"Please specify some columns to import.","messagePattern":"Please specify some columns to import\\.","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/backend/behaviors/importexportcontroller/ActionImport.php","lineNumber":142,"sourceCode":"    }\n\n    /**\n     * getImportDbColumns\n     */\n    protected function getImportDbColumns()\n    {\n        if ($this->importColumns !== null) {\n            return $this->importColumns;\n        }\n\n        $columnConfig = $this->getConfig('import[list]');\n\n        $columns = $this->makeListColumns($columnConfig, $this->importGetModel());\n\n        $columns = $this->controller->importExportExtendColumns($columns, 'import');\n\n        if (empty($columns)) {\n            throw new ApplicationException(__(\"Please specify some columns to import.\"));\n        }\n\n        return $this->importColumns = $columns;\n    }\n\n    /**\n     * getImportFileColumns\n     */\n    protected function getImportFileColumns()\n    {\n        if (!$path = $this->getImportFilePath()) {\n            return null;\n        }\n\n        if (!$fileFormat = post('file_format', 'json')) {\n            return null;\n        }\n","sourceCodeStart":124,"sourceCodeEnd":160,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/behaviors/importexportcontroller/ActionImport.php#L124-L160","documentation":"Error \"Please specify some columns to import.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/behaviors/importexportcontroller/ActionImport.php:142 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}