Sigsiu.NET GmbH issueshttps://code.sigsiu.net/groups/Sigsiu.NET/-/issues2022-02-24T13:42:13Zhttps://code.sigsiu.net/Sigsiu.NET/DownloadField/-/issues/17Delete current file does not work2022-02-24T13:42:13ZSławek SikoraDelete current file does not workLooks like delete current file function does not work. No matter if I only want to delete a file to clear the field, or upload new file and want to delete old field. There aren't any errors or warnings.
<br /><br />
Happens on the front and back-end. Tested with 2.0.0.29 RC and Download Field 3.0.0.6 Beta on Joomla 4.0.6 and 3.10.5Looks like delete current file function does not work. No matter if I only want to delete a file to clear the field, or upload new file and want to delete old field. There aren't any errors or warnings.
<br /><br />
Happens on the front and back-end. Tested with 2.0.0.29 RC and Download Field 3.0.0.6 Beta on Joomla 4.0.6 and 3.10.53.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/CategoriesModule/-/issues/3Select category button do not work in the module configuration2022-02-24T13:41:06ZSławek SikoraSelect category button do not work in the module configurationClick on the Select category button cause JS error:
```
Uncaught TypeError: elementSid is null
spModuleHandling https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/adm/joomla-modules.js:63
spModuleHandling https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/adm/joomla-modules.js:62
<anonymous> https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/adm/joomla-modules.js:24
Ready https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/core.js:30
<anonymous> https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/adm/joomla-modules.js:23
joomla-modules.js:63:9
```Click on the Select category button cause JS error:
```
Uncaught TypeError: elementSid is null
spModuleHandling https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/adm/joomla-modules.js:63
spModuleHandling https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/adm/joomla-modules.js:62
<anonymous> https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/adm/joomla-modules.js:24
Ready https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/core.js:30
<anonymous> https://test3.sikora.sobipro.eu/components/com_sobipro/lib/js/adm/joomla-modules.js:23
joomla-modules.js:63:9
```3.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/CategoriesModule/-/issues/4Nested categories cause fatal error2022-02-24T13:40:54ZSławek SikoraNested categories cause fatal errorEnabling nested categories option cause fatal error on the front-end:
0 Class 'SPCategoriesModView' not found
- Call stack
- # Function Location
- 1 () JROOT/modules/mod_sobipro_categories/categorieshelper.php:89
- 2 SPCategoriesMod->display() JROOT/modules/mod_sobipro_categories/categorieshelper.php:50
- 3 SPCategoriesMod::ListCategories() JROOT/modules/mod_sobipro_categories/mod_sobipro_categories.php:32
- 4 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:54
- 5 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:57
- 6 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:295
- 7 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:167
- 8 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:102
- 9 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:710
- 10 Joomla\CMS\Document\HtmlDocument->countModules() JROOT/templates/cassiopeia/index.php:109
- 11 require() JROOT/libraries/src/Document/HtmlDocument.php:783
- 12 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:842
- 13 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:645
- 14 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1025
- 15 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:802
- 16 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:284
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 18 require_once() JROOT/index.php:32
Tested with Joomla 4.1.0; SobiPro version 2.0.0.37 RC; SobiPro Categories 3.0.0.4 BetaEnabling nested categories option cause fatal error on the front-end:
0 Class 'SPCategoriesModView' not found
- Call stack
- # Function Location
- 1 () JROOT/modules/mod_sobipro_categories/categorieshelper.php:89
- 2 SPCategoriesMod->display() JROOT/modules/mod_sobipro_categories/categorieshelper.php:50
- 3 SPCategoriesMod::ListCategories() JROOT/modules/mod_sobipro_categories/mod_sobipro_categories.php:32
- 4 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:54
- 5 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:57
- 6 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:295
- 7 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:167
- 8 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:102
- 9 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:710
- 10 Joomla\CMS\Document\HtmlDocument->countModules() JROOT/templates/cassiopeia/index.php:109
- 11 require() JROOT/libraries/src/Document/HtmlDocument.php:783
- 12 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:842
- 13 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:645
- 14 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1025
- 15 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:802
- 16 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:284
- 17 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 18 require_once() JROOT/index.php:32
Tested with Joomla 4.1.0; SobiPro version 2.0.0.37 RC; SobiPro Categories 3.0.0.4 Beta3.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/222Deprecated notices in the error log2022-02-02T15:25:05ZSławek SikoraDeprecated notices in the error logEvery action on the front or back-end generate following notices in the error log:
- E_USER_DEPRECATED
- Joomla\CMS\Factory::getDbo() is deprecated. Load the database from the dependency injection container.
- Error Date 20 January 2022, 13:35:50
- In File /libraries/src/Factory.php: 422
- Requested URI /administrator/index.php?option=com_sobipro&task=error
-
-
- E_USER_DEPRECATED
- Joomla\CMS\Factory::getUser() is deprecated. Load the user from the dependency injection container or via Joomla\CMS\Factory::getApplication()->getIdentity().
- Error Date 20 January 2022, 13:35:50
- In File /libraries/src/Factory.php: 335
- Requested URI /administrator/index.php?option=com_sobipro&task=error
<br/><br />
Happens on the Joomla 4 onlyEvery action on the front or back-end generate following notices in the error log:
- E_USER_DEPRECATED
- Joomla\CMS\Factory::getDbo() is deprecated. Load the database from the dependency injection container.
- Error Date 20 January 2022, 13:35:50
- In File /libraries/src/Factory.php: 422
- Requested URI /administrator/index.php?option=com_sobipro&task=error
-
-
- E_USER_DEPRECATED
- Joomla\CMS\Factory::getUser() is deprecated. Load the user from the dependency injection container or via Joomla\CMS\Factory::getApplication()->getIdentity().
- Error Date 20 January 2022, 13:35:50
- In File /libraries/src/Factory.php: 335
- Requested URI /administrator/index.php?option=com_sobipro&task=error
<br/><br />
Happens on the Joomla 4 onlyhttps://code.sigsiu.net/Sigsiu.NET/Modules/CategoriesModule/-/issues/2Fatal error when accessing category on Joomla 42022-02-02T15:21:50ZSławek SikoraFatal error when accessing category on Joomla 4There is fatal error on Joomla 4 when I try to access any of the categories:
Compile Error: Cannot declare class SPCategoriesModView, because the name is already in use
Exception Stack Trace
Symfony\Component\ErrorHandler\Error\ FatalError
in /home/sikorasobipro/test3.sikora.sobipro.eu/modules/mod_sobipro_categories/view.php (line 1)There is fatal error on Joomla 4 when I try to access any of the categories:
Compile Error: Cannot declare class SPCategoriesModView, because the name is already in use
Exception Stack Trace
Symfony\Component\ErrorHandler\Error\ FatalError
in /home/sikorasobipro/test3.sikora.sobipro.eu/modules/mod_sobipro_categories/view.php (line 1)https://code.sigsiu.net/Sigsiu.NET/DownloadField/-/issues/14wrong path to the file in the back-end2022-02-01T14:51:20ZSławek Sikorawrong path to the file in the back-endThis problem happens only when site is located in the subfolder. When we try to access uploaded file from the back-end edit-entry view, path to the file is generated to the root domain folder, subfolder in the path is missed. For example if file is saved in location:<br />
https://domain.name.eu/subfolder/images/sobipro/upload/55/some_name.pdf
<br />in the back-end generated is following path:<br />
https://domain.name.eu/images/sobipro/upload/55/some_name.pdf
<br />at teh front-end file can be accessed without problems.This problem happens only when site is located in the subfolder. When we try to access uploaded file from the back-end edit-entry view, path to the file is generated to the root domain folder, subfolder in the path is missed. For example if file is saved in location:<br />
https://domain.name.eu/subfolder/images/sobipro/upload/55/some_name.pdf
<br />in the back-end generated is following path:<br />
https://domain.name.eu/images/sobipro/upload/55/some_name.pdf
<br />at teh front-end file can be accessed without problems.3.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/DownloadField/-/issues/18Delete license move users to the global config view2022-02-01T14:51:13ZSławek SikoraDelete license move users to the global config viewWhen license is deleted and page is reloaded, instead of the current section view/menu loaded is partially menu of the global configuration.<br /><br />
Tested with SobiPro 2.0.0.29 RC and Download Field 3.0.0.6 Beta on Joomla 4.0.6 and 3.10.5When license is deleted and page is reloaded, instead of the current section view/menu loaded is partially menu of the global configuration.<br /><br />
Tested with SobiPro 2.0.0.29 RC and Download Field 3.0.0.6 Beta on Joomla 4.0.6 and 3.10.53.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/DownloadField/-/issues/19"Default" license2022-02-01T14:50:45ZSławek Sikora"Default" licenseI'm not sure if I'm right, but... the problem happens for me when we do not allow user to select license, but we want to have default one for all entries. So, there is one license selected in the field configuration, like on the attached image.<br />
![screen1](/uploads/1bc3bd8182e314ed29be5a5052596e19/screen1.png)
<br />I suppose it should always show attached license when the file is downloaded on the front-end, however seems like it is skipped... one note seems like it behaves also in such way with previous field version...I'm not sure if I'm right, but... the problem happens for me when we do not allow user to select license, but we want to have default one for all entries. So, there is one license selected in the field configuration, like on the attached image.<br />
![screen1](/uploads/1bc3bd8182e314ed29be5a5052596e19/screen1.png)
<br />I suppose it should always show attached license when the file is downloaded on the front-end, however seems like it is skipped... one note seems like it behaves also in such way with previous field version...3.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/218Application installation do not refresh the page2022-02-01T12:31:53ZSławek SikoraApplication installation do not refresh the pageWhen extension is installed in the applications manager, after the bar goes to 100% the page isn't reload and it just stay at 100%, we need to refresh page manually to get app on the list of installed applications.When extension is installed in the applications manager, after the bar goes to 100% the page isn't reload and it just stay at 100%, we need to refresh page manually to get app on the list of installed applications.https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/220New extensions are installed as core extensions2022-02-01T12:31:44ZSławek SikoraNew extensions are installed as core extensionsNewly installed applications appear in the installed applications page as core extensions, and can't be removed/disabled. It happens for new installations, extensions which was installed earlier and are just updated can be selected and disabled.Newly installed applications appear in the installed applications page as core extensions, and can't be removed/disabled. It happens for new installations, extensions which was installed earlier and are just updated can be selected and disabled.https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/219Can't access front-end2022-02-01T12:31:35ZSławek SikoraCan't access front-endWith SobiPro 2.0.0.23 Beta 2 I can't access my sections front-end on Joomla 3.10.4. Tested with PHP 7.4 and 8.0. Following error appear:<br/><br />
0 Call to a member function get() on null
/home/sikorasobipro/test4.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php:420
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:420
- 2 SPJoomlaUser::getCurrent() JROOT/components/com_sobipro/lib/base/factory.php:158
- 3 SPFactory::user() JROOT/components/com_sobipro/lib/sobi.php:542
- 4 Sobi::My() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:285
- 5 SobiProCtrl->route() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:158
- 6 SobiProCtrl->__construct() JROOT/components/com_sobipro/sobipro.php:54
- 7 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
- 8 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
- 9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
- 10 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
- 11 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
- 12 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49With SobiPro 2.0.0.23 Beta 2 I can't access my sections front-end on Joomla 3.10.4. Tested with PHP 7.4 and 8.0. Following error appear:<br/><br />
0 Call to a member function get() on null
/home/sikorasobipro/test4.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php:420
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:420
- 2 SPJoomlaUser::getCurrent() JROOT/components/com_sobipro/lib/base/factory.php:158
- 3 SPFactory::user() JROOT/components/com_sobipro/lib/sobi.php:542
- 4 Sobi::My() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:285
- 5 SobiProCtrl->route() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:158
- 6 SobiProCtrl->__construct() JROOT/components/com_sobipro/sobipro.php:54
- 7 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
- 8 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
- 9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
- 10 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
- 11 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
- 12 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:492.0 RC 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/221Fetching updates in the repository2022-02-01T12:31:29ZSławek SikoraFetching updates in the repositoryFetching updates in the repository leads to the following error:<br/><br/>
0 Cannot access offset of type string on string
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/ctrl/adm/extensions.php:738
- 2 SPExtensionsCtrl->browse() JROOT/components/com_sobipro/lib/ctrl/adm/extensions.php:115
- 3 SPExtensionsCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 4 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 5 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 6 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 8 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 9 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 10 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 11 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 12 require_once() JROOT/administrator/index.php:32
And this error page appear every time when I access repository after try of updates fetch. Above is visible with PHP 8, when PHP 7.4 is used repository page load, but there appear following errors:
<br/>
> Warning: Illegal string offset 'created' in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/adm/extensions.php on line 738
>
> Warning: Illegal string offset 'extensions' in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/adm/extensions.php on line 740
Tested with SobiPro 2.0.0.25 Beta 2; Joomla 4.0.5 and Joomla! 3.10.4Fetching updates in the repository leads to the following error:<br/><br/>
0 Cannot access offset of type string on string
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/ctrl/adm/extensions.php:738
- 2 SPExtensionsCtrl->browse() JROOT/components/com_sobipro/lib/ctrl/adm/extensions.php:115
- 3 SPExtensionsCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/adm/sobipro.php:458
- 4 SobiProAdmCtrl->execute() JROOT/administrator/components/com_sobipro/sobipro.php:57
- 5 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 6 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 7 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 8 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
- 9 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
- 10 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 11 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
- 12 require_once() JROOT/administrator/index.php:32
And this error page appear every time when I access repository after try of updates fetch. Above is visible with PHP 8, when PHP 7.4 is used repository page load, but there appear following errors:
<br/>
> Warning: Illegal string offset 'created' in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/adm/extensions.php on line 738
>
> Warning: Illegal string offset 'extensions' in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/adm/extensions.php on line 740
Tested with SobiPro 2.0.0.25 Beta 2; Joomla 4.0.5 and Joomla! 3.10.42.0 RC 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/174Not correct behaviour of the entries history logging2021-12-17T14:34:14ZSławek SikoraNot correct behaviour of the entries history loggingLooks like there appear some problems with correct history logging. For example there is no revision data for inputbox and textarea fields. I will update this report with some future test, in this moment I will add here tutorial for general re-creating of this issue.<br />
```
Create a new section
======================
section settings -> default
section template -> default V5 B3
acl -> add to default acl: right to approve own entries
acl -> add to default acl: right to publish own entries
acl -> add to default acl: right to edit own entries
acl -> revoke from default acl: group guests
create a default category
change default category field to a fix value (use ID from created default cat)
add this fields (all with default settings):
- textarea (field_textarea)
- gallery (field_gallery)
- geomap (field_geomap)
- radio (field_radio)
- option-1 = "Option 1"
- option-2 = "Option 2"
- option-3 = "Option 3"
Test steps Result
===============================================================================
CREATION
--------------------------------------------------------------------------------
1. create an entry in frontend | entry is created and accesible in frontend
2. goto backends entry history | 2 records available -> 1x added, 1x changed
3. click to load first hist record| Revision not found (ok, no problem)
4. click 2nd hist record (change) | Revision is loaded
5. look at the field values now | name and textarea ARE NOT marked as changed
| gallery, geomap, radio ARE marked as changed
| name and textarea show the entered values
| gallery and geomap show the entered values
| radio has NO option selected
FIRST EDIT
--------------------------------------------------------------------------------
1. edit the entry in frontend | entry is changed and shows new values
(change all field values)
2. goto backends entry history | 3 records available -> 1x added, 2x changed
3. load 'add' history record | Revision not found (ok, no problem)
4. load first change reccord | Revision is loaded
5. look at the field values | ALL Fields marked as changed now (!)
| name, textarea and geomap have data
| gallery and radio are empty (!)
| geomap shows NEW data, NOT those at creation
6. now load second change reccord | Revision is loaded
7. look at the field values | name and textarea ARE NOT marked as changed!
| gallery, geomap, radio ARE marked as changed
| name, textarea and geomap showing NEW data!
| radio shows the OLD value!
```Looks like there appear some problems with correct history logging. For example there is no revision data for inputbox and textarea fields. I will update this report with some future test, in this moment I will add here tutorial for general re-creating of this issue.<br />
```
Create a new section
======================
section settings -> default
section template -> default V5 B3
acl -> add to default acl: right to approve own entries
acl -> add to default acl: right to publish own entries
acl -> add to default acl: right to edit own entries
acl -> revoke from default acl: group guests
create a default category
change default category field to a fix value (use ID from created default cat)
add this fields (all with default settings):
- textarea (field_textarea)
- gallery (field_gallery)
- geomap (field_geomap)
- radio (field_radio)
- option-1 = "Option 1"
- option-2 = "Option 2"
- option-3 = "Option 3"
Test steps Result
===============================================================================
CREATION
--------------------------------------------------------------------------------
1. create an entry in frontend | entry is created and accesible in frontend
2. goto backends entry history | 2 records available -> 1x added, 1x changed
3. click to load first hist record| Revision not found (ok, no problem)
4. click 2nd hist record (change) | Revision is loaded
5. look at the field values now | name and textarea ARE NOT marked as changed
| gallery, geomap, radio ARE marked as changed
| name and textarea show the entered values
| gallery and geomap show the entered values
| radio has NO option selected
FIRST EDIT
--------------------------------------------------------------------------------
1. edit the entry in frontend | entry is changed and shows new values
(change all field values)
2. goto backends entry history | 3 records available -> 1x added, 2x changed
3. load 'add' history record | Revision not found (ok, no problem)
4. load first change reccord | Revision is loaded
5. look at the field values | ALL Fields marked as changed now (!)
| name, textarea and geomap have data
| gallery and radio are empty (!)
| geomap shows NEW data, NOT those at creation
6. now load second change reccord | Revision is loaded
7. look at the field values | name and textarea ARE NOT marked as changed!
| gallery, geomap, radio ARE marked as changed
| name, textarea and geomap showing NEW data!
| radio shows the OLD value!
```2.0 Alpha 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/195add_section browser title parameter2021-12-17T14:34:03ZSławek Sikoraadd_section browser title parameterPerhaps I missed something, but seems like add_section parameter in the config.ini file do not change anything in the browser title. It happens also with PHP 7Perhaps I missed something, but seems like add_section parameter in the config.ini file do not change anything in the browser title. It happens also with PHP 72.0 Beta 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Notifications/-/issues/9Missing texts from payment message2021-12-15T15:37:25ZSławek SikoraMissing texts from payment messageIt looks like payment placeholder {payment.columns:[reference,amount]} do not replace language terms with translated values and in the emails are sent raw values:<br />
NOTA.PAYMENT_REFERENCE<br />
NOTA.PAYMENT_NETTO<br />
NOTA.PAYMENT_VAT<br />
NOTA.PAYMENT_BRUTTO<br />It looks like payment placeholder {payment.columns:[reference,amount]} do not replace language terms with translated values and in the emails are sent raw values:<br />
NOTA.PAYMENT_REFERENCE<br />
NOTA.PAYMENT_NETTO<br />
NOTA.PAYMENT_VAT<br />
NOTA.PAYMENT_BRUTTO<br />3.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/215Back-end configuration file write functionality2021-11-23T12:22:02ZSławek SikoraBack-end configuration file write functionalityPerhaps I broke something, but seems like using write configuration function in the global configuration, change all true and false values in the configuration file to 1 and 0. When this happens configuration file need to be edited manually, if we try to add true/false in the editor it is saved inside quotation marks in the file.Perhaps I broke something, but seems like using write configuration function in the global configuration, change all true and false values in the configuration file to 1 and 0. When this happens configuration file need to be edited manually, if we try to add true/false in the editor it is saved inside quotation marks in the file.2.0 Beta 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/217Entries can't be saved with notification app and PHP 82021-11-23T12:21:46ZSławek SikoraEntries can't be saved with notification app and PHP 8Saving entries cause following error when PHP 8 is set on the server. Happens on the front and back-end. Tested with SobiPro 2.0.0.18 and notification app 3.0.0.2
0 method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:378
- 2 method_exists() JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:378
- 3 SPLang::parseVal() JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:336
- 4 SPLang::replacePlaceHolders() JROOT/components/com_sobipro/opt/plugins/bank_transfer/init.php:62
- 5 SPPBankTransfer->PaymentMethodView() JROOT/components/com_sobipro/opt/plugins/bank_transfer/init.php:41
- 6 SPPBankTransfer->AppPaymentMessageSend() JROOT/components/com_sobipro/lib/plugins/interface.php:261
- 7 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:233
- 8 Sobi::Trigger() JROOT/components/com_sobipro/opt/plugins/notifications/helper.php:162
- 9 SPNotificationHelper::payment() JROOT/components/com_sobipro/opt/plugins/notifications/helper.php:57
- 10 SPNotificationHelper::Trigger() JROOT/components/com_sobipro/opt/plugins/notifications/init.php:142
- 11 SPNotifications->__call() JROOT/components/com_sobipro/lib/plugins/interface.php:261
- 12 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:233
- 13 Sobi::Trigger() JROOT/components/com_sobipro/lib/models/entry.php:924
- 14 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/entry.php:511
- 15 SPEntryCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:167
- 16 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 17 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
- 18 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 19 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 20 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 21 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 22 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206
- 23 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
- 24 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 25 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 26 require_once() JROOT/index.php:32Saving entries cause following error when PHP 8 is set on the server. Happens on the front and back-end. Tested with SobiPro 2.0.0.18 and notification app 3.0.0.2
0 method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:378
- 2 method_exists() JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:378
- 3 SPLang::parseVal() JROOT/components/com_sobipro/lib/cms/joomla_common/base/lang.php:336
- 4 SPLang::replacePlaceHolders() JROOT/components/com_sobipro/opt/plugins/bank_transfer/init.php:62
- 5 SPPBankTransfer->PaymentMethodView() JROOT/components/com_sobipro/opt/plugins/bank_transfer/init.php:41
- 6 SPPBankTransfer->AppPaymentMessageSend() JROOT/components/com_sobipro/lib/plugins/interface.php:261
- 7 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:233
- 8 Sobi::Trigger() JROOT/components/com_sobipro/opt/plugins/notifications/helper.php:162
- 9 SPNotificationHelper::payment() JROOT/components/com_sobipro/opt/plugins/notifications/helper.php:57
- 10 SPNotificationHelper::Trigger() JROOT/components/com_sobipro/opt/plugins/notifications/init.php:142
- 11 SPNotifications->__call() JROOT/components/com_sobipro/lib/plugins/interface.php:261
- 12 SPPlugins->trigger() JROOT/components/com_sobipro/lib/sobi.php:233
- 13 Sobi::Trigger() JROOT/components/com_sobipro/lib/models/entry.php:924
- 14 SPEntry->save() JROOT/components/com_sobipro/lib/ctrl/entry.php:511
- 15 SPEntryCtrl->save() JROOT/components/com_sobipro/lib/ctrl/controller.php:167
- 16 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/entry.php:84
- 17 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
- 18 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 19 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
- 20 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 21 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
- 22 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:206
- 23 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:245
- 24 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
- 25 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 26 require_once() JROOT/index.php:321.6.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/182Save entry redirection does not show a message2021-11-15T14:27:32ZSławek SikoraSave entry redirection does not show a messageWhen redirection for saving entry form is set to custom address, there is not displayed info message after redirection.When redirection for saving entry form is set to custom address, there is not displayed info message after redirection.1.6.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/191Fields which are not editable, are not validated correctly for new entries2021-11-15T14:27:12ZSławek SikoraFields which are not editable, are not validated correctly for new entriesWhen required field is set as not editable, then after click on form save it isn't checked by form validator, in the result when we left it empty we will get 500 error with information that it is required field and cannot be left empty.When required field is set as not editable, then after click on form save it isn't checked by form validator, in the result when we left it empty we will get 500 error with information that it is required field and cannot be left empty.1.6.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/216Changing field state with Data Accelerator and PHP 82021-11-15T14:26:53ZSławek SikoraChanging field state with Data Accelerator and PHP 8Similar as in this issue: https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/209
But it affects SobiPro 1.6.5Similar as in this issue: https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/209
But it affects SobiPro 1.6.51.6.5Sigrid SuskiSigrid Suski