Sigsiu.NET GmbH issueshttps://code.sigsiu.net/groups/Sigsiu.NET/-/issues2021-12-17T14:34:14Zhttps://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/Sobi-Framework/-/issues/11Replacing placeholder brackets in the href attribute to it encoding reference2020-09-16T11:18:07ZSławek SikoraReplacing placeholder brackets in the href attribute to it encoding referenceI'm not sure if it is exactly a bug, but the problem happens only when we try to put placeholder inside href attribute, like:<br />
`<a href="{some.url}">something</a>`
<br />after saving it and refreshing field it is changed to <br />
`<a href="%7Bsome.url%7D">something</a>`
<br /><br /> It happens with Tiny when editor is disabled, with CodeMirror and completely disabled editor in Joomla.
<br />There is no problem when I add same placeholder for example to class, style or alt attribute. I can also save it in the notification app configuration, or in the section description, there such problem doesn't appear. It only affect contact form field.
<br /><br />I can only save such value with Tiny editor when editor is enabled, by simply pasting this line and saving, however I think it should also work when editor is disabled or completely not used.I'm not sure if it is exactly a bug, but the problem happens only when we try to put placeholder inside href attribute, like:<br />
`<a href="{some.url}">something</a>`
<br />after saving it and refreshing field it is changed to <br />
`<a href="%7Bsome.url%7D">something</a>`
<br /><br /> It happens with Tiny when editor is disabled, with CodeMirror and completely disabled editor in Joomla.
<br />There is no problem when I add same placeholder for example to class, style or alt attribute. I can also save it in the notification app configuration, or in the section description, there such problem doesn't appear. It only affect contact form field.
<br /><br />I can only save such value with Tiny editor when editor is enabled, by simply pasting this line and saving, however I think it should also work when editor is disabled or completely not used.1.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/173Replacing placeholder brackets in the href attribute to it encoding reference2020-07-15T11:08:06ZSławek SikoraReplacing placeholder brackets in the href attribute to it encoding referenceI'm not sure if it is exactly a bug, but the problem happens only when we try to put placeholder inside href attribute, like:<br />
`<a href="{some.url}">something</a>`
<br />after saving it and refreshing field it is changed to <br />
`<a href="%7Bsome.url%7D">something</a>`
<br /><br /> It happens with Tiny when editor is disabled, with CodeMirror and completely disabled editor in Joomla.
<br />There is no problem when I add same placeholder for example to class, style or alt attribute. I can also save it in the notification app configuration, or in the section description, there such problem doesn't appear. It only affect contact form field.
<br /><br />I can only save such value with Tiny editor when editor is enabled, by simply pasting this line and saving, however I think it should also work when editor is disabled or completely not used.I'm not sure if it is exactly a bug, but the problem happens only when we try to put placeholder inside href attribute, like:<br />
`<a href="{some.url}">something</a>`
<br />after saving it and refreshing field it is changed to <br />
`<a href="%7Bsome.url%7D">something</a>`
<br /><br /> It happens with Tiny when editor is disabled, with CodeMirror and completely disabled editor in Joomla.
<br />There is no problem when I add same placeholder for example to class, style or alt attribute. I can also save it in the notification app configuration, or in the section description, there such problem doesn't appear. It only affect contact form field.
<br /><br />I can only save such value with Tiny editor when editor is enabled, by simply pasting this line and saving, however I think it should also work when editor is disabled or completely not used.Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/172multiple range search fields problems2020-09-03T09:18:20ZSławek Sikoramultiple range search fields problemsThe problem happens when we have 2 or more search fields set to be searchable via range search. When last of them is left empty there appear following error in the error log:<br />
preg_quote() expects parameter 1 to be string, array given
<br />Also search results do not display entries which contains data from this fieldThe problem happens when we have 2 or more search fields set to be searchable via range search. When last of them is left empty there appear following error in the error log:<br />
preg_quote() expects parameter 1 to be string, array given
<br />Also search results do not display entries which contains data from this field1.6Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/171multiple POST requests when we re-uploading images in entry form2020-09-03T09:18:33ZSławek Sikoramultiple POST requests when we re-uploading images in entry formSituation happens when we add or edit entry, and during this edition we decide to change uploaded image. Every time when we select and upload new image for same field, the number of POST requests are doubled, so when we upload image first time there is one POST request, then when we decide to change it and upload new one, and there are performed 2 POST request, after next change 4, then 8 etc... This number raise until we save the form, after saving and editing entry, whole process start from the beginning. <br>
It also multiply number of images which are uploaded to the temporary folder at the server.Situation happens when we add or edit entry, and during this edition we decide to change uploaded image. Every time when we select and upload new image for same field, the number of POST requests are doubled, so when we upload image first time there is one POST request, then when we decide to change it and upload new one, and there are performed 2 POST request, after next change 4, then 8 etc... This number raise until we save the form, after saving and editing entry, whole process start from the beginning. <br>
It also multiply number of images which are uploaded to the temporary folder at the server.1.6Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/170Category field notice at search page2020-06-05T14:17:58ZSławek SikoraCategory field notice at search pageWhen category field is set as searchable populated list it produce following notice at search page:<br>
Notice: Trying to access array offset on value of type null in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/opt/fields/category.php on line 665When category field is set as searchable populated list it produce following notice at search page:<br>
Notice: Trying to access array offset on value of type null in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/opt/fields/category.php on line 6651.5.3Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/169All entries view notices2020-06-05T14:18:05ZSławek SikoraAll entries view noticesThese messages appear in the back-end all entries view.<br >
Notice: Trying to access array offset on value of type null in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/base/cache.php on line 541<br><br>
Notice: Trying to access array offset on value of type int in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/views/adm/section.php on line 241
<br><br>This one with cache appear also at entry details view at the front-endThese messages appear in the back-end all entries view.<br >
Notice: Trying to access array offset on value of type null in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/base/cache.php on line 541<br><br>
Notice: Trying to access array offset on value of type int in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/views/adm/section.php on line 241
<br><br>This one with cache appear also at entry details view at the front-end1.5.3Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/168Section/category view notice with PHP 7.42020-06-05T14:18:12ZSławek SikoraSection/category view notice with PHP 7.4It appear in the section and category view, no matter if there are any entries
Warning: count(): Parameter must be an array or an object that implements Countable in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/helpers/template.php on line 243It appear in the section and category view, no matter if there are any entries
Warning: count(): Parameter must be an array or an object that implements Countable in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/helpers/template.php on line 2431.5.3Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/167Catgeory edit page notice with PHP 7.42020-06-05T14:18:29ZSławek SikoraCatgeory edit page notice with PHP 7.4Following notice appear with PHP 7.4 in the category edit page:<br>
Notice: Trying to access array offset on value of type null in /home/sikorasobipro/test2.sikora.sobipro.eu/libraries/src/Form/FormField.php on line 993Following notice appear with PHP 7.4 in the category edit page:<br>
Notice: Trying to access array offset on value of type null in /home/sikorasobipro/test2.sikora.sobipro.eu/libraries/src/Form/FormField.php on line 993https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/166deprecated message with PHP 7.42020-06-05T14:18:40ZSławek Sikoradeprecated message with PHP 7.4Following message appear in the add entry form when PHP 7.4 is used<br />
Deprecated: filter_var(): FILTER_SANITIZE_MAGIC_QUOTES is deprecated, use FILTER_SANITIZE_ADD_SLASHES instead in /home/sikorasobipro/test2.sikora.sobipro.eu/libraries/sobi/Input/Input.php on line 252Following message appear in the add entry form when PHP 7.4 is used<br />
Deprecated: filter_var(): FILTER_SANITIZE_MAGIC_QUOTES is deprecated, use FILTER_SANITIZE_ADD_SLASHES instead in /home/sikorasobipro/test2.sikora.sobipro.eu/libraries/sobi/Input/Input.php on line 2521.5.3Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/165Adding entry directly after applying a filter causes error 5002020-09-03T09:18:39ZSławek SikoraAdding entry directly after applying a filter causes error 500Problem appear in the back-end all entries view. When we use filter to look for some entry and then we try to add new entry, there will appear following error:<br>
500 No controller to execute Cannot get fields in section 0
<br>It happens only when we try to add entry directly after filtering entries, if we will go to some other view and then back to all entries list problem will not happenProblem appear in the back-end all entries view. When we use filter to look for some entry and then we try to add new entry, there will appear following error:<br>
500 No controller to execute Cannot get fields in section 0
<br>It happens only when we try to add entry directly after filtering entries, if we will go to some other view and then back to all entries list problem will not happen1.6Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/CalendarField/-/issues/25Searching from date2020-12-29T13:12:12ZSławek SikoraSearching from dateIt would be nice to have possibility to specify as a search parameter only one of the values (from or to) for time period, in this moment it is necessary to specify both values.It would be nice to have possibility to specify as a search parameter only one of the values (from or to) for time period, in this moment it is necessary to specify both values.2.4Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/ReviewRating/-/issues/10Approve icon always show unapproved2022-11-18T11:39:33ZSławek SikoraApprove icon always show unapprovedIn the "All reviews and ratings" view, approval column always show 'unapproved; icon, no matter if entry is approved or not. In the review details publishing tab, correct option is selected.In the "All reviews and ratings" view, approval column always show 'unapproved; icon, no matter if entry is approved or not. In the review details publishing tab, correct option is selected.3.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/ExpirationApp/-/issues/53rd notifications doesn't count year2022-06-08T11:17:36ZSławek Sikora3rd notifications doesn't count yearLooks like 3rd expiration notification doesn't check year of expiration and sent message just when day and month match. So if for example Send Final Message option is set to send message 2 days after, today we have 17.03.2020 and for example entry expiration date is 15.03.2022, expiration message will be send today even if entry will expire after two years.Looks like 3rd expiration notification doesn't check year of expiration and sent message just when day and month match. So if for example Send Final Message option is set to send message 2 days after, today we have 17.03.2020 and for example entry expiration date is 15.03.2022, expiration message will be send today even if entry will expire after two years.Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/35Categories export and gallery field2020-03-10T12:27:21ZSławek SikoraCategories export and gallery fieldDuring categories export gallery field data isn't exported at all.During categories export gallery field data isn't exported at all.2.0 BetaSigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/ImportExport/-/issues/19Category field data import does not work with pipe and semicolon as multivalu...2023-07-20T15:47:41ZSławek SikoraCategory field data import does not work with pipe and semicolon as multivalue separatorWhen we set wrong multi-values separator from import process then categories data is imported as a string. So let say if we use in the file comma as a separator and in the config we select pipe, then whole category cell content will be imported with commas.When we set wrong multi-values separator from import process then categories data is imported as a string. So let say if we use in the file comma as a separator and in the config we select pipe, then whole category cell content will be imported with commas.2.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/CategoriesModule/-/issues/1Notices with nested categories mode2020-03-10T12:27:03ZSławek SikoraNotices with nested categories modeWhen there is nested categories mode selected there appear following notices in the module:
```
Notice: Undefined offset: 1 in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/cmod.php on line 433
Notice: Undefined index: position.asc in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/cmod.php on line 442
Notice: Undefined index: position.asc in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/cmod.php on line 443
Notice: Undefined index: position.asc in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/cmod.php on line 443
```
it happens for all ordering options.When there is nested categories mode selected there appear following notices in the module:
```
Notice: Undefined offset: 1 in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/cmod.php on line 433
Notice: Undefined index: position.asc in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/cmod.php on line 442
Notice: Undefined index: position.asc in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/cmod.php on line 443
Notice: Undefined index: position.asc in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/ctrl/cmod.php on line 443
```
it happens for all ordering options.Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/162Information field output data don't save2020-03-31T14:32:22ZSławek SikoraInformation field output data don't saveThere is no possibility to save any data in the output fields for the information field. After save all entered data is removed and reverted to previous state.There is no possibility to save any data in the output fields for the information field. After save all entered data is removed and reverted to previous state.1.5.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/GeoMapModule/-/issues/14Module do not load when readius search show 0 results2020-03-26T09:12:55ZSławek SikoraModule do not load when readius search show 0 resultsI'm not sure if it is bug in the module or field, but when we use GeoMap field in the radius search mode and search results return 0 results, geomap module isn't loaded at result page. There appear following error in the console:<br />
> 0 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') )' at line 1
<br />
This doesn't happens when proximity search method is used.I'm not sure if it is bug in the module or field, but when we use GeoMap field in the radius search mode and search results return 0 results, geomap module isn't loaded at result page. There appear following error in the console:<br />
> 0 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') )' at line 1
<br />
This doesn't happens when proximity search method is used.2.6Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/161When copying fields, the field options for select lists etc. aren't copied2020-02-03T09:08:39ZSigrid SuskiWhen copying fields, the field options for select lists etc. aren't copiedsee titlesee title1.5.1Sigrid SuskiSigrid Suski