Skip to content

Commit

Permalink
SuiteCRM 8.6.1 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
jack7anderson7 committed Jun 10, 2024
1 parent 1a39227 commit f483bec
Show file tree
Hide file tree
Showing 25 changed files with 1,717 additions and 1,502 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<img width="180px" height="41px" src="https://suitecrm.com/wp-content/uploads/2017/12/logo.png" align="right" />
</a>

# SuiteCRM 8.6.0
# SuiteCRM 8.6.1

[![LICENSE](https://img.shields.io/github/license/suitecrm/suitecrm.svg)](https://github.com/salesagility/suitecrm/blob/hotfix/LICENSE.txt)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/salesagility/SuiteCRM-Core/issues)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.6.0
8.6.1
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
"tecnickcom/tcpdf": "^6.4",
"tedivm/jshrink": "^1.3",
"tinymce/tinymce": "^5.10",
"tuupola/slim-jwt-auth": "^2.0",
"vlucas/phpdotenv": "^3.5",
"voku/anti-xss": "^4.1",
"webonyx/graphql-php": "^0.13.8",
Expand Down
140 changes: 55 additions & 85 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/app/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "common",
"version": "8.6.0",
"version": "8.6.1",
"peerDependencies": {
"@angular/common": "^12.1.0",
"@angular/core": "^12.1.0",
Expand Down
2 changes: 2 additions & 0 deletions core/app/common/src/lib/metadata/metadata.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export interface ViewFieldDefinition {
metadata?: FieldMetadata;
logic?: FieldLogicMap;
displayLogic?: FieldLogicMap;

[key: string]: any;
}

export interface Panel {
Expand Down
2 changes: 1 addition & 1 deletion core/app/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "core",
"version": "8.6.0",
"version": "8.6.1",
"peerDependencies": {
"@angular/common": "^12.1.0",
"@angular/core": "^12.1.0",
Expand Down
12 changes: 10 additions & 2 deletions core/app/core/src/lib/services/record/field/field.builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {
import {AsyncValidatorFn, UntypedFormArray, UntypedFormControl, ValidatorFn} from '@angular/forms';
import {LanguageStore} from '../../../store/language/language.store';
import get from 'lodash-es/get';
import {merge} from 'lodash-es';
import {isEmpty, merge} from 'lodash-es';
import {FieldObjectRegistry} from "./field-object-type.registry";


Expand All @@ -69,7 +69,15 @@ export class FieldBuilder {
*/
public buildField(record: Record, viewField: ViewFieldDefinition, language: LanguageStore = null): Field {

const definition = (viewField && viewField.fieldDefinition) || {} as FieldDefinition;
const module = record?.module ?? '';
let definition = viewField?.fieldDefinition ?? {} as FieldDefinition;
const multiModuleDefinitions = viewField?.multiModuleDefinitions ?? {} as ObjectMap;
const currentModuleDefinitions = multiModuleDefinitions[module] ?? {} as FieldDefinition;

if (!isEmpty(currentModuleDefinitions)){
definition = currentModuleDefinitions;
}

const {value, valueList, valueObject} = this.parseValue(viewField, definition, record);
const {validators, asyncValidators} = this.getSaveValidators(record, viewField);

Expand Down
2 changes: 1 addition & 1 deletion core/backend/Install/LegacyHandler/InstallHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public function runCheckRouteAccess(array $inputArray): FeedBack

$checkFile = __DIR__ . '/../../../../.curl_check_main_page';

require_once "core/backend/Install/Service/InstallPreChecks.php";
require_once __DIR__ . "/../../../../core/backend/Install/Service/InstallPreChecks.php";
$installChecks = new InstallPreChecks($log);

try {
Expand Down
5 changes: 5 additions & 0 deletions core/backend/Install/Service/InstallationUtilsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,16 @@ public function isAppInstallerLocked($legacyDir): bool
public function getLegacyConfig($legacyDir): ?array
{
$sugarConfigFile = $legacyDir . '/config.php';
$sugarOverrideConfigFile = $legacyDir . '/config_override.php';

if (is_file($sugarConfigFile)) {
$sugar_config = [];
include $sugarConfigFile;

if (is_file($sugarOverrideConfigFile)) {
include $sugarOverrideConfigFile;
}

return $sugar_config;
}

Expand Down
Loading

0 comments on commit f483bec

Please sign in to comment.