diff --git a/composer.json b/composer.json
index b27c1b6..ef8a595 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
"name": "oneplace/oneplace-core",
"description": "onePlace Core Application",
"type": "project",
- "version": "1.0.27",
+ "version": "1.0.28",
"license": "BSD-3-Clause",
"keywords": [
"laminas",
diff --git a/module/Application/language/de_DE.po b/module/Application/language/de_DE.po
index b47f325..4e45edc 100644
--- a/module/Application/language/de_DE.po
+++ b/module/Application/language/de_DE.po
@@ -104,6 +104,9 @@ msgstr "Installierte Designs"
msgid "Activate"
msgstr "Aktivieren"
+msgid "State"
+msgstr "Status"
+
msgid "Yes"
msgstr "Ja"
diff --git a/module/Application/src/Model/CoreEntityModel.php b/module/Application/src/Model/CoreEntityModel.php
index 983b512..efc9566 100644
--- a/module/Application/src/Model/CoreEntityModel.php
+++ b/module/Application/src/Model/CoreEntityModel.php
@@ -177,7 +177,12 @@ public function getSelectField($sField) {
CoreEntityModel::$aEntityTables[$oField->tbl_cached_name] = CoreController::$oServiceManager->get($oField->tbl_class);
//CoreEntityModel::$aEntityTables[$oField->tbl_name] = CoreController::$oServiceManager->get('OnePlace\Contact\Model\ContactTable');
}
- return CoreEntityModel::$aEntityTables[$oField->tbl_cached_name]->getSingle($iSelectIDFS);
+ try {
+ return CoreEntityModel::$aEntityTables[$oField->tbl_cached_name]->getSingle($iSelectIDFS);
+ } catch(\RuntimeException $e) {
+ return false;
+ }
+
} else {
if($oField->tbl_class == 'OnePlace\BoolSelect') {
return ($this->$sField == 2) ? 'Yes' : 'No';
diff --git a/module/Application/src/Module.php b/module/Application/src/Module.php
index 63e836d..b234cef 100644
--- a/module/Application/src/Module.php
+++ b/module/Application/src/Module.php
@@ -27,7 +27,7 @@ class Module {
*
* @since 1.0.0
*/
- const VERSION = '1.0.27';
+ const VERSION = '1.0.28';
public function getConfig() : array
{
diff --git a/module/Application/view/partial/basicformfield.phtml b/module/Application/view/partial/basicformfield.phtml
index 34245da..ec3d446 100644
--- a/module/Application/view/partial/basicformfield.phtml
+++ b/module/Application/view/partial/basicformfield.phtml
@@ -100,6 +100,14 @@ switch($oField->type) {
value="=(isset($this->oItem)) ? $this->oItem->getTextField($oField->fieldkey) : ''?>"=$sExtraAttributes?> />
+ />
+
=$this->translate($this->sTitle)?>
+ sCount)) { ?>
+ =$this->sCount?>
+