Merged in bugfix/PMCORE-3930 (pull request #8533)
PMCORE-3930 Check if the feature/PMCORE-3834 can be compatible with php 7.4.x Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.4|^8.1",
|
"php": ">=7.4",
|
||||||
"laravel/framework": "8.83.*",
|
"laravel/framework": "8.83.*",
|
||||||
"luracast/restler": "3.0",
|
"luracast/restler": "3.0",
|
||||||
"bshaffer/oauth2-server-php": "v1.0",
|
"bshaffer/oauth2-server-php": "v1.0",
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"league/oauth2-client": "^2.4",
|
"league/oauth2-client": "^2.4",
|
||||||
"league/oauth2-google": "^3.0",
|
"league/oauth2-google": "^3.0",
|
||||||
"tecnickcom/tcpdf": "6.4.*",
|
"tecnickcom/tcpdf": "6.4.*",
|
||||||
"fzaninotto/faker": "^1.7",
|
"fzaninotto/faker": "dev-master",
|
||||||
"predis/predis": "1.1.1",
|
"predis/predis": "1.1.1",
|
||||||
"phpmyadmin/sql-parser": "^5.3",
|
"phpmyadmin/sql-parser": "^5.3",
|
||||||
"aws/aws-sdk-php": "~3.0",
|
"aws/aws-sdk-php": "~3.0",
|
||||||
|
|||||||
579
composer.lock
generated
579
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -86,7 +86,7 @@ abstract class TestCase extends BaseTestCase
|
|||||||
*/
|
*/
|
||||||
public function truncateNonInitialModels(): void
|
public function truncateNonInitialModels(): void
|
||||||
{
|
{
|
||||||
DB::statement("set global max_connections = 300;");
|
DB::statement("set global max_connections = 500;");
|
||||||
if (empty(static::$truncateInitialTables)) {
|
if (empty(static::$truncateInitialTables)) {
|
||||||
$initialTables = [
|
$initialTables = [
|
||||||
'RBAC_PERMISSIONS',
|
'RBAC_PERMISSIONS',
|
||||||
|
|||||||
@@ -50,7 +50,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 6,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -74,7 +73,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 5,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -98,7 +96,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 5,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -122,7 +119,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 5,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -146,7 +142,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 5,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -171,7 +166,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 5,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -196,7 +190,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 4,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -225,7 +218,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 6,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -249,7 +241,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 5,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -273,7 +264,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 3,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -297,7 +287,6 @@ class PmDynaformTest extends TestCase
|
|||||||
|
|
||||||
$arrayForm = $this->createArrayDynaform();
|
$arrayForm = $this->createArrayDynaform();
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 7,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -333,7 +322,6 @@ class PmDynaformTest extends TestCase
|
|||||||
|
|
||||||
$arrayForm = $this->createArrayDynaform();
|
$arrayForm = $this->createArrayDynaform();
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 7,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -341,7 +329,6 @@ class PmDynaformTest extends TestCase
|
|||||||
|
|
||||||
$arrayForm2 = $this->createArrayDynaform();
|
$arrayForm2 = $this->createArrayDynaform();
|
||||||
$dynaform2 = Dynaform::factory(1)->create([
|
$dynaform2 = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 9,
|
|
||||||
'DYN_UID' => $arrayForm2['items'][0]['id'],
|
'DYN_UID' => $arrayForm2['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm2)
|
'DYN_CONTENT' => G::json_encode($arrayForm2)
|
||||||
@@ -367,7 +354,6 @@ class PmDynaformTest extends TestCase
|
|||||||
|
|
||||||
$arrayForm = $this->createArrayDynaform();
|
$arrayForm = $this->createArrayDynaform();
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 7,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -375,7 +361,6 @@ class PmDynaformTest extends TestCase
|
|||||||
|
|
||||||
$arrayForm2 = $this->createArrayDynaform();
|
$arrayForm2 = $this->createArrayDynaform();
|
||||||
$dynaform2 = Dynaform::factory(1)->create([
|
$dynaform2 = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 9,
|
|
||||||
'DYN_UID' => $arrayForm2['items'][0]['id'],
|
'DYN_UID' => $arrayForm2['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm2)
|
'DYN_CONTENT' => G::json_encode($arrayForm2)
|
||||||
@@ -418,7 +403,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 1,
|
|
||||||
'DYN_UID' => $arrayForm['items'][0]['id'],
|
'DYN_UID' => $arrayForm['items'][0]['id'],
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
@@ -445,7 +429,6 @@ class PmDynaformTest extends TestCase
|
|||||||
$process = Process::factory(1)->create();
|
$process = Process::factory(1)->create();
|
||||||
|
|
||||||
$dynaform = Dynaform::factory(1)->create([
|
$dynaform = Dynaform::factory(1)->create([
|
||||||
'DYN_ID' => 2,
|
|
||||||
'PRO_UID' => $process[0]->PRO_UID,
|
'PRO_UID' => $process[0]->PRO_UID,
|
||||||
'DYN_CONTENT' => G::json_encode($arrayForm)
|
'DYN_CONTENT' => G::json_encode($arrayForm)
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -40,27 +40,32 @@ class WorkspaceToolsTest extends TestCase
|
|||||||
Delegation::factory()->create([
|
Delegation::factory()->create([
|
||||||
'APP_UID' => $application1->APP_UID,
|
'APP_UID' => $application1->APP_UID,
|
||||||
'APP_NUMBER' => $application1->APP_NUMBER,
|
'APP_NUMBER' => $application1->APP_NUMBER,
|
||||||
|
'DEL_TITLE' => $application1->APP_TITLE,
|
||||||
'DEL_INDEX' => 1
|
'DEL_INDEX' => 1
|
||||||
]);
|
]);
|
||||||
Delegation::factory()->create([
|
Delegation::factory()->create([
|
||||||
'APP_UID' => $application1->APP_UID,
|
'APP_UID' => $application1->APP_UID,
|
||||||
'APP_NUMBER' => $application1->APP_NUMBER,
|
'APP_NUMBER' => $application1->APP_NUMBER,
|
||||||
|
'DEL_TITLE' => $application1->APP_TITLE,
|
||||||
'DEL_INDEX' => 2
|
'DEL_INDEX' => 2
|
||||||
]);
|
]);
|
||||||
$delegation1 = Delegation::factory()->create([
|
$delegation1 = Delegation::factory()->create([
|
||||||
'APP_UID' => $application1->APP_UID,
|
'APP_UID' => $application1->APP_UID,
|
||||||
'APP_NUMBER' => $application1->APP_NUMBER,
|
'APP_NUMBER' => $application1->APP_NUMBER,
|
||||||
|
'DEL_TITLE' => $application1->APP_TITLE,
|
||||||
'DEL_INDEX' => 3,
|
'DEL_INDEX' => 3,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Delegation::factory()->create([
|
Delegation::factory()->create([
|
||||||
'APP_UID' => $application2->APP_UID,
|
'APP_UID' => $application2->APP_UID,
|
||||||
'APP_NUMBER' => $application2->APP_NUMBER,
|
'APP_NUMBER' => $application2->APP_NUMBER,
|
||||||
|
'DEL_TITLE' => $application2->APP_TITLE,
|
||||||
'DEL_INDEX' => 1
|
'DEL_INDEX' => 1
|
||||||
]);
|
]);
|
||||||
$delegation2 = Delegation::factory()->create([
|
$delegation2 = Delegation::factory()->create([
|
||||||
'APP_UID' => $application2->APP_UID,
|
'APP_UID' => $application2->APP_UID,
|
||||||
'APP_NUMBER' => $application2->APP_NUMBER,
|
'APP_NUMBER' => $application2->APP_NUMBER,
|
||||||
|
'DEL_TITLE' => $application2->APP_TITLE,
|
||||||
'DEL_INDEX' => 2,
|
'DEL_INDEX' => 2,
|
||||||
'DEL_LAST_INDEX' => 1
|
'DEL_LAST_INDEX' => 1
|
||||||
]);
|
]);
|
||||||
@@ -68,11 +73,13 @@ class WorkspaceToolsTest extends TestCase
|
|||||||
Delegation::factory()->create([
|
Delegation::factory()->create([
|
||||||
'APP_UID' => $application3->APP_UID,
|
'APP_UID' => $application3->APP_UID,
|
||||||
'APP_NUMBER' => $application3->APP_NUMBER,
|
'APP_NUMBER' => $application3->APP_NUMBER,
|
||||||
|
'DEL_TITLE' => $application3->APP_TITLE,
|
||||||
'DEL_INDEX' => 1
|
'DEL_INDEX' => 1
|
||||||
]);
|
]);
|
||||||
$delegation3 = Delegation::factory()->create([
|
$delegation3 = Delegation::factory()->create([
|
||||||
'APP_UID' => $application3->APP_UID,
|
'APP_UID' => $application3->APP_UID,
|
||||||
'APP_NUMBER' => $application3->APP_NUMBER,
|
'APP_NUMBER' => $application3->APP_NUMBER,
|
||||||
|
'DEL_TITLE' => $application3->APP_TITLE,
|
||||||
'DEL_INDEX' => 2,
|
'DEL_INDEX' => 2,
|
||||||
'DEL_LAST_INDEX' => 1
|
'DEL_LAST_INDEX' => 1
|
||||||
]);
|
]);
|
||||||
|
|||||||
@@ -20,15 +20,6 @@ class PmTablesProxyTest extends TestCase
|
|||||||
use CreateTestSite;
|
use CreateTestSite;
|
||||||
use DatabaseTransactions;
|
use DatabaseTransactions;
|
||||||
|
|
||||||
protected $preserveGlobalState = false;
|
|
||||||
protected $runTestInSeparateProcess = true;
|
|
||||||
|
|
||||||
private $repTableBigInt;
|
|
||||||
private $repTableChar;
|
|
||||||
private $repTableInteger;
|
|
||||||
private $repTableSmallInt;
|
|
||||||
private $repTableTinyInt;
|
|
||||||
private $repTableVarChar;
|
|
||||||
private $repTableBigIntUid;
|
private $repTableBigIntUid;
|
||||||
private $repTableCharUid;
|
private $repTableCharUid;
|
||||||
private $repTableIntegerUid;
|
private $repTableIntegerUid;
|
||||||
@@ -50,8 +41,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
//Set the user logged as the admin
|
//Set the user logged as the admin
|
||||||
$_SESSION['USER_LOGGED'] = "00000000000000000000000000000001";
|
$_SESSION['USER_LOGGED'] = "00000000000000000000000000000001";
|
||||||
|
|
||||||
// The InputFilter class use deprecated code
|
$this->markTestSkipped("propel classes are not generated correctly");
|
||||||
error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -128,7 +118,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableBigInt = $reportTable->saveStructureOfTable($httpDatavarBigInt, true);
|
$reportTable->saveStructureOfTable($httpDatavarBigInt, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableBigIntUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableBigIntUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -151,7 +141,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This method update the PM tables rows
|
//This method update the PM tables rows
|
||||||
$resultDataUpdateBigInt = $obj->dataUpdate($httpDataUpdateBigInt);
|
$obj->dataUpdate($httpDataUpdateBigInt);
|
||||||
|
|
||||||
//Assert the values were updated
|
//Assert the values were updated
|
||||||
$resUpdateBigInt = $obj->dataView((object)["id" => $this->repTableBigIntUid]);
|
$resUpdateBigInt = $obj->dataView((object)["id" => $this->repTableBigIntUid]);
|
||||||
@@ -238,7 +228,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableChar = $reportTable->saveStructureOfTable($httpDatavarChar, true);
|
$reportTable->saveStructureOfTable($httpDatavarChar, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -261,7 +251,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This method update the PM tables rows
|
//This method update the PM tables rows
|
||||||
$resultDataUpdateChar = $obj->dataUpdate($httpDataUpdateChar);
|
$obj->dataUpdate($httpDataUpdateChar);
|
||||||
|
|
||||||
//Assert the values were updated
|
//Assert the values were updated
|
||||||
$resUpdateChar = $obj->dataView((object)["id" => $this->repTableCharUid]);
|
$resUpdateChar = $obj->dataView((object)["id" => $this->repTableCharUid]);
|
||||||
@@ -348,7 +338,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableInteger = $reportTable->saveStructureOfTable($httpDatavarInteger, true);
|
$reportTable->saveStructureOfTable($httpDatavarInteger, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableIntegerUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableIntegerUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -362,7 +352,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This will add rows to the PM tables
|
//This will add rows to the PM tables
|
||||||
$res = $obj->dataCreate($httpDataInteger);
|
$obj->dataCreate($httpDataInteger);
|
||||||
|
|
||||||
//The variables that will be used to update the rows in the PM tables
|
//The variables that will be used to update the rows in the PM tables
|
||||||
$httpDataUpdateInteger = (object)[
|
$httpDataUpdateInteger = (object)[
|
||||||
@@ -371,7 +361,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This method update the PM tables rows
|
//This method update the PM tables rows
|
||||||
$resultDataUpdateInteger = $obj->dataUpdate($httpDataUpdateInteger);
|
$obj->dataUpdate($httpDataUpdateInteger);
|
||||||
|
|
||||||
//Assert the values were updated
|
//Assert the values were updated
|
||||||
$resUpdateInteger = $obj->dataView((object)["id" => $this->repTableIntegerUid]);
|
$resUpdateInteger = $obj->dataView((object)["id" => $this->repTableIntegerUid]);
|
||||||
@@ -458,7 +448,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableSmallInt = $reportTable->saveStructureOfTable($httpDatavarSmallInt, true);
|
$reportTable->saveStructureOfTable($httpDatavarSmallInt, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableSmallIntUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableSmallIntUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -481,7 +471,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This method update the PM tables rows
|
//This method update the PM tables rows
|
||||||
$resultDataUpdateSmallInt = $obj->dataUpdate($httpDataUpdateSmallInt);
|
$obj->dataUpdate($httpDataUpdateSmallInt);
|
||||||
|
|
||||||
//Assert the values were updated
|
//Assert the values were updated
|
||||||
$resUpdateSmallInt = $obj->dataView((object)["id" => $this->repTableSmallIntUid]);
|
$resUpdateSmallInt = $obj->dataView((object)["id" => $this->repTableSmallIntUid]);
|
||||||
@@ -567,7 +557,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableTinyInt = $reportTable->saveStructureOfTable($httpDatavarTinyInt, true);
|
$reportTable->saveStructureOfTable($httpDatavarTinyInt, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableTinyIntUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableTinyIntUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -590,7 +580,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This method update the PM tables rows
|
//This method update the PM tables rows
|
||||||
$resultDataUpdateTinyInt = $obj->dataUpdate($httpDataUpdateTinyInt);
|
$obj->dataUpdate($httpDataUpdateTinyInt);
|
||||||
|
|
||||||
//Assert the values were updated
|
//Assert the values were updated
|
||||||
$resUpdateTinyInt = $obj->dataView((object)["id" => $this->repTableTinyIntUid]);
|
$resUpdateTinyInt = $obj->dataView((object)["id" => $this->repTableTinyIntUid]);
|
||||||
@@ -676,7 +666,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableVarChar = $reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
$reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -699,7 +689,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This method update the PM tables rows
|
//This method update the PM tables rows
|
||||||
$resultDataUpdateVarChar = $obj->dataUpdate($httpDataUpdateVarChar);
|
$obj->dataUpdate($httpDataUpdateVarChar);
|
||||||
|
|
||||||
//Assert the values were updated
|
//Assert the values were updated
|
||||||
$resUpdateVarChar = $obj->dataView((object)["id" => $this->repTableVarCharUid]);
|
$resUpdateVarChar = $obj->dataView((object)["id" => $this->repTableVarCharUid]);
|
||||||
@@ -784,7 +774,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableVarChar = $reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
$reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -858,7 +848,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableVarChar = $reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
$reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -937,7 +927,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableVarChar = $reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
$reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
@@ -951,7 +941,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This will add rows to the PM tables
|
//This will add rows to the PM tables
|
||||||
$r = $obj->dataCreate($httpDataVarChar);
|
$obj->dataCreate($httpDataVarChar);
|
||||||
|
|
||||||
//The variables that will be used to update the rows in the PM tables
|
//The variables that will be used to update the rows in the PM tables
|
||||||
$httpDataUpdateVarChar = (object)[
|
$httpDataUpdateVarChar = (object)[
|
||||||
@@ -1058,7 +1048,7 @@ class PmTablesProxyTest extends TestCase
|
|||||||
];
|
];
|
||||||
|
|
||||||
//This create the report tables
|
//This create the report tables
|
||||||
$this->repTableVarChar = $reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
$reportTable->saveStructureOfTable($httpDatavarVarChar, true);
|
||||||
$pmTablesList = new AdditionalTables();
|
$pmTablesList = new AdditionalTables();
|
||||||
$resuPmTableList = $pmTablesList->getAll();
|
$resuPmTableList = $pmTablesList->getAll();
|
||||||
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
$this->repTableVarCharUid = $resuPmTableList['rows'][0]['ADD_TAB_UID'];
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ final class AnsiColorLogger extends DefaultLogger {
|
|||||||
* Set the colors to use from a property file specified by the
|
* Set the colors to use from a property file specified by the
|
||||||
* special ant property ant.logger.defaults
|
* special ant property ant.logger.defaults
|
||||||
*/
|
*/
|
||||||
private final function setColors() {
|
private function setColors() {
|
||||||
|
|
||||||
$userColorFile = Phing::getProperty("phing.logger.defaults");
|
$userColorFile = Phing::getProperty("phing.logger.defaults");
|
||||||
$systemColorFile = new PhingFile(Phing::getResourcePath("phing/listener/defaults.properties"));
|
$systemColorFile = new PhingFile(Phing::getResourcePath("phing/listener/defaults.properties"));
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -22670,8 +22670,8 @@ msgstr "Open SSL is optional"
|
|||||||
# TRANSLATION
|
# TRANSLATION
|
||||||
# LABEL/ID_PROCESSMAKER_REQUIREMENTS_PHP
|
# LABEL/ID_PROCESSMAKER_REQUIREMENTS_PHP
|
||||||
#: LABEL/ID_PROCESSMAKER_REQUIREMENTS_PHP
|
#: LABEL/ID_PROCESSMAKER_REQUIREMENTS_PHP
|
||||||
msgid "PHP supported version 8.1"
|
msgid "PHP recommended version 8.1, we maintain compatibility starting with PHP 7.4"
|
||||||
msgstr "PHP supported version 8.1"
|
msgstr "PHP recommended version 8.1, we maintain compatibility starting with PHP 7.4"
|
||||||
|
|
||||||
# TRANSLATION
|
# TRANSLATION
|
||||||
# LABEL/ID_PROCESSMAKER_REQUIREMENTS_SOAP
|
# LABEL/ID_PROCESSMAKER_REQUIREMENTS_SOAP
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ include PATH_LANGUAGECONT . "translation." . SYS_LANG;
|
|||||||
class InstallerModule extends Controller
|
class InstallerModule extends Controller
|
||||||
{
|
{
|
||||||
const MYSQL_VERSION_MAXIMUM_SUPPORTED = "5.7";
|
const MYSQL_VERSION_MAXIMUM_SUPPORTED = "5.7";
|
||||||
const PHP_VERSION_MINIMUM_SUPPORTED = "8.1";
|
const PHP_VERSION_MINIMUM_SUPPORTED = "7.3";
|
||||||
const PHP_VERSION_NOT_SUPPORTED = "8.2";
|
const PHP_VERSION_NOT_SUPPORTED = "8.2";
|
||||||
public $path_config;
|
public $path_config;
|
||||||
public $path_languages;
|
public $path_languages;
|
||||||
|
|||||||
@@ -60692,7 +60692,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
|||||||
INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ) VALUES
|
INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ) VALUES
|
||||||
|
|
||||||
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_OPENSSL_OPTIONAL','en','Open SSL is optional','2014-01-15') ,
|
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_OPENSSL_OPTIONAL','en','Open SSL is optional','2014-01-15') ,
|
||||||
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_PHP','en','PHP supported version 8.1','2019-12-02') ,
|
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_PHP','en','PHP recommended version 8.1, we maintain compatibility starting with PHP 7.4','2019-12-02') ,
|
||||||
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_SOAP','en','Soap Support','2014-01-15') ,
|
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_SOAP','en','Soap Support','2014-01-15') ,
|
||||||
( 'LABEL','ID_PROCESSMAKER_SLOGAN1','en','This Business Process is Powered By ProcessMaker','2014-01-15') ,
|
( 'LABEL','ID_PROCESSMAKER_SLOGAN1','en','This Business Process is Powered By ProcessMaker','2014-01-15') ,
|
||||||
( 'LABEL','ID_PROCESSMAKER_SUCCESS_INSTALLED','en','ProcessMaker was successfully installed<br/>Workspace <b>" {0} " </b> was installed correctly.','2014-01-15') ,
|
( 'LABEL','ID_PROCESSMAKER_SUCCESS_INSTALLED','en','ProcessMaker was successfully installed<br/>Workspace <b>" {0} " </b> was installed correctly.','2014-01-15') ,
|
||||||
|
|||||||
Reference in New Issue
Block a user