From d4dc3b4868d5c04a3e9fdbc247f150db71f4cc16 Mon Sep 17 00:00:00 2001 From: aB0t Date: Thu, 18 Jul 2024 17:11:01 +0200 Subject: [PATCH] Release of v4.0.1-beta3 Fix init feature to only add missing powers. Fix controller postSaveHook function, for correct model class in Joomla 4 and 5. --- CHANGELOG.md | 8 +++++--- ComponentbuilderInstallerScript.php | 2 +- README.md | 6 +++--- admin/README.txt | 6 +++--- componentbuilder.xml | 4 ++-- componentbuilder_update_server.xml | 6 +++--- .../vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Get.php | 2 +- libraries/vendor_jcb/VDM.Joomla/src/Model/Load.php | 4 ++-- 8 files changed, 20 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e594cde14..6132a4667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,14 @@ -# v4.0.1-beta2 +# v4.0.1-beta3 -- Fix function mismatch call in the compiler power class. +- Fix init feature to only add missing powers +- Fix controller postSaveHook function, for correct model class in Joomla 4 and 5 # v4.0.1-beta - Fix subform set methods - Improved the Joomla Power Push path -- Fix the metadata, metadesc, metakey database issue +- Fix the metadata, metadesc, metakey database issue +- Fix function mismatch call in the compiler power class. # v4.0.1-alpha diff --git a/ComponentbuilderInstallerScript.php b/ComponentbuilderInstallerScript.php index b59f23c25..0e8b95419 100644 --- a/ComponentbuilderInstallerScript.php +++ b/ComponentbuilderInstallerScript.php @@ -3269,7 +3269,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface echo '
-

Upgrade to Version 4.0.1-beta2 Was Successful! Let us know if anything is not working as expected.

'; +

Upgrade to Version 4.0.1-beta3 Was Successful! Let us know if anything is not working as expected.

'; // Add/Update component in the action logs extensions table. $this->setActionLogsExtensions(); diff --git a/README.md b/README.md index 01d5156e2..a2855a0c4 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.1-beta2) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.1-beta3) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -145,10 +145,10 @@ TODO + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *First Build*: 30th April, 2015 + *Last Build*: 18th July, 2024 -+ *Version*: 4.0.1-beta2 ++ *Version*: 4.0.1-beta3 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **780747** ++ *Line count*: **780749** + *Field count*: **2104** + *File count*: **5464** + *Folder count*: **540** diff --git a/admin/README.txt b/admin/README.txt index 01d5156e2..a2855a0c4 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have! -You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.1-beta2) with **ALL** its features and **ALL** concepts totally open-source and free! +You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.1-beta3) with **ALL** its features and **ALL** concepts totally open-source and free! > Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45) @@ -145,10 +145,10 @@ TODO + *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder) + *First Build*: 30th April, 2015 + *Last Build*: 18th July, 2024 -+ *Version*: 4.0.1-beta2 ++ *Version*: 4.0.1-beta3 + *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved. + *License*: GNU General Public License version 2 or later; see LICENSE.txt -+ *Line count*: **780747** ++ *Line count*: **780749** + *Field count*: **2104** + *File count*: **5464** + *Folder count*: **540** diff --git a/componentbuilder.xml b/componentbuilder.xml index a68696237..365c79c26 100644 --- a/componentbuilder.xml +++ b/componentbuilder.xml @@ -7,9 +7,9 @@ https://dev.vdm.io Copyright (C) 2015 Vast Development Method. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt - 4.0.1-beta2 + 4.0.1-beta3 Component Builder (v.4.0.1-beta2) +

Component Builder (v.4.0.1-beta3)

The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time. diff --git a/componentbuilder_update_server.xml b/componentbuilder_update_server.xml index e0f164db2..2322a5efe 100644 --- a/componentbuilder_update_server.xml +++ b/componentbuilder_update_server.xml @@ -62,7 +62,7 @@ 4.0.1-beta https://dev.vdm.io - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-beta2.zip + https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-beta3.zip beta @@ -77,10 +77,10 @@ pkg_component_builder package site - 4.0.1-beta2 + 4.0.1-beta3 https://dev.vdm.io - https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-beta2.zip + https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.1-beta3.zip beta diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Get.php b/libraries/vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Get.php index da6fde025..e385a387f 100644 --- a/libraries/vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Get.php +++ b/libraries/vendor_jcb/VDM.Joomla/src/Abstraction/Remote/Get.php @@ -94,7 +94,7 @@ abstract class Get implements GetInterface { foreach($items as $guid) { - if ($this->item->table($this->getTable())->value($guid) !== null && + if ($this->item->table($this->getTable())->value($guid) === null && ($item = $this->grep->get($guid, ['remote'])) !== null) { $this->item->set($item); diff --git a/libraries/vendor_jcb/VDM.Joomla/src/Model/Load.php b/libraries/vendor_jcb/VDM.Joomla/src/Model/Load.php index 83002ce50..7f990c728 100644 --- a/libraries/vendor_jcb/VDM.Joomla/src/Model/Load.php +++ b/libraries/vendor_jcb/VDM.Joomla/src/Model/Load.php @@ -45,8 +45,8 @@ final class Load extends Model implements ModelInterface $table = $this->getTable(); } - // check if this is a valid table - if (($store = $this->table->get($table, $field, 'store')) !== null) + // check if this is a valid table (don't touch null) + if ($value !== null && ($store = $this->table->get($table, $field, 'store')) !== null) { // open the value based on the store method switch($store)