Skip to content
Snippets Groups Projects
Commit f5d50071 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

Merge branch 'master' of gitlab.sgalinski.de:typo3/sg_jobs

parents a7538301 e5f39078
No related branches found
No related tags found
No related merge requests found
......@@ -106,8 +106,6 @@ class BackendController extends ActionController {
}
} catch (\Exception $exception) {
debug($exception);
// check for NULL value in view and render an error message
$this->view->assign('docHeader', NULL);
}
......
......@@ -287,17 +287,17 @@ class JobApplication extends AbstractEntity {
}
/**
* @return int
* @return string
*/
public function getBirthDate() {
return $this->birthDate;
}
/**
* @param int $birthDate
* @param string $birthDate
*/
public function setBirthDate($birthDate) {
$this->birthDate = (int) $birthDate;
$this->birthDate = $birthDate;
}
/**
......
......@@ -373,7 +373,6 @@ class UploadedFileReferenceConverter implements TypeConverterInterface {
$uploadFolderId = $this->getUploadFolder();
// Security protection to not allow manipulations outside of this specific folder
if (strpos($uploadFolderId, '/JobApplication/') !== FALSE) {
debug($uploadFolderId . '/' . $finalFileName);
try {
$uploadedFile = $this->resourceFactory->retrieveFileOrFolderObject(
$uploadFolderId . '/' . $finalFileName
......
......@@ -9,8 +9,6 @@
<sg:backend.widget.paginate objects="{jobs}" as="paginatedJobs" configuration="{insertAbove: 1, itemsPerPage: 20}">
<tbody>
<f:for each="{paginatedJobs}" as="job">
<f:debug>{job}</f:debug>
{sg:backend.editOnClick(table: 'tx_sgjobs_domain_model_job', uid: job.uid) -> sg:set(name: 'editOnClick')}
<tr data-uid="{job.uid}">
<td nowrap="nowrap" class="col-icon">
......@@ -34,4 +32,4 @@
</sg:backend.widget.paginate>
</table>
</div>
</div>
\ No newline at end of file
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment