Release 2.0.5 (#3888)
- Fixed: mandatory fields / form validation for invoice template - Added: Duration as calendar title replacer (open: running records) - Fixed: HTML injection in Calendar - Fixed: Doctrine Proxies are not initialized (leads to empty customer/project) - Fixed: tag creation - Fixed: validation errors do not need to be logged in prod - Removed: Customer VCard download, as used library is outdated and not maintained - Added: supporting translations domains in many new places (menu, help_text, page_setup, report, exporter, calendar)
This commit is contained in:
@@ -32,6 +32,9 @@ final class ActivityLoader implements LoaderInterface
|
||||
|
||||
$ids = array_map(function ($activity) {
|
||||
if ($activity instanceof Activity) {
|
||||
// make sure that this potential doctrine proxy is initialized and filled with all data
|
||||
$activity->getName();
|
||||
|
||||
return $activity->getId();
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,9 @@ final class CustomerLoader implements LoaderInterface
|
||||
|
||||
$ids = array_map(function ($customer) {
|
||||
if ($customer instanceof Customer) {
|
||||
// make sure that this potential doctrine proxy is initialized and filled with all data
|
||||
$customer->getName();
|
||||
|
||||
return $customer->getId();
|
||||
}
|
||||
|
||||
|
||||
@@ -29,6 +29,9 @@ final class InvoiceLoader implements LoaderInterface
|
||||
|
||||
$ids = array_map(function ($invoice) {
|
||||
if ($invoice instanceof Invoice) {
|
||||
// make sure that this potential doctrine proxy is initialized and filled with all data
|
||||
$invoice->getInvoiceNumber();
|
||||
|
||||
return $invoice->getId();
|
||||
}
|
||||
|
||||
|
||||
@@ -31,6 +31,9 @@ final class ProjectLoader implements LoaderInterface
|
||||
|
||||
$ids = array_map(function ($project) {
|
||||
if ($project instanceof Project) {
|
||||
// make sure that this potential doctrine proxy is initialized and filled with all data
|
||||
$project->getName();
|
||||
|
||||
return $project->getId();
|
||||
}
|
||||
|
||||
|
||||
@@ -29,6 +29,9 @@ final class TeamLoader implements LoaderInterface
|
||||
|
||||
$ids = array_map(function ($team) {
|
||||
if ($team instanceof Team) {
|
||||
// make sure that this potential doctrine proxy is initialized and filled with all data
|
||||
$team->getName();
|
||||
|
||||
return $team->getId();
|
||||
}
|
||||
|
||||
|
||||
@@ -32,6 +32,9 @@ final class TimesheetLoader implements LoaderInterface
|
||||
|
||||
$ids = array_map(function ($timesheet) {
|
||||
if ($timesheet instanceof Timesheet) {
|
||||
// make sure that this potential doctrine proxy is initialized and filled with all data
|
||||
$timesheet->getType();
|
||||
|
||||
return $timesheet->getId();
|
||||
}
|
||||
|
||||
|
||||
@@ -30,6 +30,9 @@ final class UserLoader implements LoaderInterface
|
||||
|
||||
$ids = array_map(function ($user) {
|
||||
if ($user instanceof User) {
|
||||
// make sure that this potential doctrine proxy is initialized and filled with all data
|
||||
$user->getDisplayName();
|
||||
|
||||
return $user->getId();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user