Sigsiu.NET GmbH issueshttps://code.sigsiu.net/groups/Sigsiu.NET/-/issues2017-05-12T09:17:31Zhttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/1Gallery field JS error2017-05-12T09:17:31ZSławek SikoraGallery field JS errorGallery field generate Fatal JS error in the add entry form at front and back-end:
```
jquery.min.js?4a8ad77…:2 Uncaught Error: Syntax error, unrecognized expression: data-role=primary
at Function.fa.error (jquery.min.js?4a8ad77…:2)
at fa.tokenize (jquery.min.js?4a8ad77…:2)
at Function.fa (jquery.min.js?4a8ad77…:2)
at Function.a.find (jquery-migrate.min.js?4a8ad77…:2)
at a.fn.init.find (jquery.min.js?4a8ad77…:2)
at a.fn.init.a.fn.find (jquery-migrate.min.js?4a8ad77…:2)
at HTMLDivElement.<anonymous> (field_gallery_edit.js:72)
at Function.each (jquery.min.js?4a8ad77…:2)
at a.fn.init.each (jquery.min.js?4a8ad77…:2)
at HTMLDocument.<anonymous> (field_gallery_edit.js:21)
```
This error breaks working of the GeoMap module, category field in SigsiuTree mode or Entries module in the Ajax mode. Seems like it also affect some gallery functionalities like changing images order or making it primaryGallery field generate Fatal JS error in the add entry form at front and back-end:
```
jquery.min.js?4a8ad77…:2 Uncaught Error: Syntax error, unrecognized expression: data-role=primary
at Function.fa.error (jquery.min.js?4a8ad77…:2)
at fa.tokenize (jquery.min.js?4a8ad77…:2)
at Function.fa (jquery.min.js?4a8ad77…:2)
at Function.a.find (jquery-migrate.min.js?4a8ad77…:2)
at a.fn.init.find (jquery.min.js?4a8ad77…:2)
at a.fn.init.a.fn.find (jquery-migrate.min.js?4a8ad77…:2)
at HTMLDivElement.<anonymous> (field_gallery_edit.js:72)
at Function.each (jquery.min.js?4a8ad77…:2)
at a.fn.init.each (jquery.min.js?4a8ad77…:2)
at HTMLDocument.<anonymous> (field_gallery_edit.js:21)
```
This error breaks working of the GeoMap module, category field in SigsiuTree mode or Entries module in the Ajax mode. Seems like it also affect some gallery functionalities like changing images order or making it primaryRadek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/7File type is not allowed2017-05-18T07:40:24ZSigrid SuskiFile type is not allowedif uploading an image (front- and back-end) I get the message 'file type is not allowed'. If saving the entry then results in,
500 Cannot save fields data. Cannot crop image: Cannot get info about given image. File /tmp/filesc07b78909eb49969698ae7458f86903e/048249aa22311a21d86fdc65e85a97dd/DSC03489.JPG may not be an image or is named improperly. Check the file type and try again... inif uploading an image (front- and back-end) I get the message 'file type is not allowed'. If saving the entry then results in,
500 Cannot save fields data. Cannot crop image: Cannot get info about given image. File /tmp/filesc07b78909eb49969698ae7458f86903e/048249aa22311a21d86fdc65e85a97dd/DSC03489.JPG may not be an image or is named improperly. Check the file type and try again... in1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/5Field type option layout2017-05-18T07:47:09ZSławek SikoraField type option layoutIn the Gallery field configuration information part there is 'weird thing' in the place of the field type option (see attachment), I'm not sure how it should looks exactly, but for example in the info field this option is completely removed!
[screen](/uploads/265417699eb8ec7a102d880845072112/screen.png)In the Gallery field configuration information part there is 'weird thing' in the place of the field type option (see attachment), I'm not sure how it should looks exactly, but for example in the info field this option is completely removed!
[screen](/uploads/265417699eb8ec7a102d880845072112/screen.png)https://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/23no user data nodes2017-05-26T07:50:15ZSigrid Suskino user data nodesinstead of adding the user data nodes, the gallery view (gallery-details) adds only <visitor>SPUser</visitor>.instead of adding the user data nodes, the gallery view (gallery-details) adds only <visitor>SPUser</visitor>.1.0https://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/24image filename instead of title ...2017-06-23T10:07:36ZSigrid Suskiimage filename instead of title ...... shown when editing. Only if field is used as category field.
It happens only if the 'Fields' tab is not shown while opening. Refreshing the page shows the titles again.... shown when editing. Only if field is used as category field.
It happens only if the 'Fields' tab is not shown while opening. Refreshing the page shows the titles again.1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/21can't save entry with gallery field2017-06-23T10:08:19ZSławek Sikoracan't save entry with gallery fieldGot following error when I try to save the form with enabled gallery field:<br />
```
fatal error: Argument 3 passed to Sobi\Input\Input::Arr() must be of the type array
, string given, called in /home/sigsiu52/public_html/test/components/com_sobipro/opt/fields/gallery.php
on line 212 and defined in <b>phar:///home/sigsiu52/public_html/test/libraries/sobi/Sobi-1.0.2.phar
.tar.gz/Input/Input.php</b> on line <b>61</b><br />
```Got following error when I try to save the form with enabled gallery field:<br />
```
fatal error: Argument 3 passed to Sobi\Input\Input::Arr() must be of the type array
, string given, called in /home/sigsiu52/public_html/test/components/com_sobipro/opt/fields/gallery.php
on line 212 and defined in <b>phar:///home/sigsiu52/public_html/test/libraries/sobi/Sobi-1.0.2.phar
.tar.gz/Input/Input.php</b> on line <b>61</b><br />
```Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/20upload.xml file break our template editor2017-06-23T10:08:30ZSławek Sikoraupload.xml file break our template editorWhen upload.xml file is edited it break our editor. Editor is cut after line:<br />
`<textarea class="form-control" data-role="description" name="%FIELDNAME%[descriptions][]" placeholder="%DESCRIPTION%">`
<br />
and there is displayed uploadfile button below itWhen upload.xml file is edited it break our editor. Editor is cut after line:<br />
`<textarea class="form-control" data-role="description" name="%FIELDNAME%[descriptions][]" placeholder="%DESCRIPTION%">`
<br />
and there is displayed uploadfile button below ithttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/16Keep original = "no" does not work2017-06-23T10:09:00ZSigrid SuskiKeep original = "no" does not workthe original images is keptthe original images is kept1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/15Share button is shown also if no media is selected in the configuration2017-06-23T10:09:12ZSigrid SuskiShare button is shown also if no media is selected in the configuration1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/14Can't use more than one gallery field2017-06-23T10:09:21ZSławek SikoraCan't use more than one gallery fieldWhen there is more than one gallery field it use same 'Add Image' button. After clicking it open selecting image window for each gallery. After selecting image for each and attempt to entry save there appear following error for each image:
`File 20140416_102244.jpg couldn't be uploaded. Please check the shown error message and remove it if necessary.`When there is more than one gallery field it use same 'Add Image' button. After clicking it open selecting image window for each gallery. After selecting image for each and attempt to entry save there appear following error for each image:
`File 20140416_102244.jpg couldn't be uploaded. Please check the shown error message and remove it if necessary.`https://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/11Date taken2017-06-23T10:09:33ZSigrid SuskiDate takenthe 'date taken' is not the date from the EXIF data or the date of the original file, but the date the file was uploaded into the gallery.the 'date taken' is not the date from the EXIF data or the date of the original file, but the date the file was uploaded into the gallery.1.0Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/10Error after saving entry with uplloaded bigger image than allowed2017-06-23T10:09:47ZSławek SikoraError after saving entry with uplloaded bigger image than allowedProblem appear when we upload image which have bigger size than allowed. We got info about error of course but when I try to save entry I got 500 error like this:
`500 - Cannot save fields data. Cannot crop image: Cannot get info about given image. File /tmp/files6d4d26e2820fb800942057088d489741/dcced6bffe1a9e47f20684077460fd5b/2013-11-12 13.28.04.jpg may not be an image or is named improperly. Check the file type and try again...`
I think possibility of saving entry should be blocked until image isn't removed, or such image should be removed automatically.Problem appear when we upload image which have bigger size than allowed. We got info about error of course but when I try to save entry I got 500 error like this:
`500 - Cannot save fields data. Cannot crop image: Cannot get info about given image. File /tmp/files6d4d26e2820fb800942057088d489741/dcced6bffe1a9e47f20684077460fd5b/2013-11-12 13.28.04.jpg may not be an image or is named improperly. Check the file type and try again...`
I think possibility of saving entry should be blocked until image isn't removed, or such image should be removed automatically.Sławek SikoraSławek Sikorahttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/8Required functionality for gallery field doesn't work2017-06-23T10:09:56ZSławek SikoraRequired functionality for gallery field doesn't workEntry can be saved even if there is no image uploaded to the gallery field.
Can be checked here:
http://181.224.130.224/~sigsiu52/test2/entry/add
gallery field is set as requiredEntry can be saved even if there is no image uploaded to the gallery field.
Can be checked here:
http://181.224.130.224/~sigsiu52/test2/entry/add
gallery field is set as requiredSławek SikoraSławek Sikorahttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/6Approving entry remove al images from gallery2017-06-23T10:10:06ZSławek SikoraApproving entry remove al images from galleryIt happens when entry is created by user without rights to approve own entries. Here is step-by-step instruction to recreate problem
- add entry with images uploaded to the gallery as user without permission to add autopublish entries (I use for it visitor)
- entry is saved and when you access edit entry view in the back-end images are there
- publish entry from the entry list or from the entry edit page
- when you check entry again images are removed from the fieldIt happens when entry is created by user without rights to approve own entries. Here is step-by-step instruction to recreate problem
- add entry with images uploaded to the gallery as user without permission to add autopublish entries (I use for it visitor)
- entry is saved and when you access edit entry view in the back-end images are there
- publish entry from the entry list or from the entry edit page
- when you check entry again images are removed from the fieldhttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/4Favourite button don't work on the front-end2017-06-23T10:10:14ZSławek SikoraFavourite button don't work on the front-endAs in the title, favourite button don't work on the front-end, there aren't any errors in the console.As in the title, favourite button don't work on the front-end, there aren't any errors in the console.Sławek SikoraSławek Sikorahttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/3Moving images generate JS error2017-06-23T10:10:22ZSławek SikoraMoving images generate JS errorMoving images up/down generate following JS error:
```
jquery-sortable.js:48 Uncaught TypeError: Cannot read property 'removeClass' of null
at HTMLDivElement.<anonymous> (jquery-sortable.js:48)
at HTMLDivElement.dispatch (jquery.min.js?4a8ad77…:3)
at HTMLDivElement.r.handle (jquery.min.js?4a8ad77…:3)
```
In the result images aren't saved in the entry. Same for front and back-endMoving images up/down generate following JS error:
```
jquery-sortable.js:48 Uncaught TypeError: Cannot read property 'removeClass' of null
at HTMLDivElement.<anonymous> (jquery-sortable.js:48)
at HTMLDivElement.dispatch (jquery.min.js?4a8ad77…:3)
at HTMLDivElement.r.handle (jquery.min.js?4a8ad77…:3)
```
In the result images aren't saved in the entry. Same for front and back-endRadek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/GalleryField/-/issues/2Images aren't saved2017-06-23T10:10:32ZSławek SikoraImages aren't savedI'm not sure if it isn't related to the JS error generated by this field, but images uploaded to this field aren't aren't saved. There is no error during saving process, but after it there are no images in the field.I'm not sure if it isn't related to the JS error generated by this field, but images uploaded to this field aren't aren't saved. There is no error during saving process, but after it there are no images in the field.Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/CalendarField/-/issues/13Wrong disaplying of 'text' dates in the back-end entries view2017-07-25T11:41:23ZSławek SikoraWrong disaplying of 'text' dates in the back-end entries viewWhen cache is enabled and build, and calendar field is set to be visible in the Admin List all text dates are displaying in the following way:
CFA_OUT_YEARLYWhen cache is enabled and build, and calendar field is set to be visible in the Admin List all text dates are displaying in the following way:
CFA_OUT_YEARLY2.2Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/CalendarField/-/issues/12Lack of 'no date set' info2017-07-25T11:41:36ZSławek SikoraLack of 'no date set' infoI'm not sure if this is a bug, but when calendar field don't have set recurrent data or time period options, and entry is saved without data in this field, then such field don't show 'no date set' message in the entry view. Example XML data for three calendar fields:<br />
```
<field_standard_date id="5" itemprop="" type="calendar" suffix="" position="2" css_view="spClassViewCalendar" css-view="spClassViewCalendar" css_class="spClassCalendar" css-class="spClassCalendar">
<label lang="en-GB" show="1">Standard date</label>
<data></data>
</field_standard_date>
<field_recurrent_date id="6" itemprop="" type="calendar" suffix="" position="3" css_view="spClassViewCalendar" css-view="spClassViewCalendar" css_class="spClassCalendar" css-class="spClassCalendar">
<label lang="en-GB" show="1">Recurrent date</label>
<data lang="en-GB" class="spClassCalendar" timestamp="0" startdate="0" enddate="0" offset="0">no date set</data>
</field_recurrent_date>
<field_time_period id="7" itemprop="" type="calendar" suffix="" position="4" css_view="spClassViewCalendar" css-view="spClassViewCalendar" css_class="spClassCalendar" css-class="spClassCalendar">
<label lang="en-GB" show="1">Time period</label>
<data lang="en-GB" class="spClassCalendar" timestamp="0" startdate="0" enddate="0" offset="0">no date set</data>
</field_time_period>
```
Tested with ver. 2.2.0.10I'm not sure if this is a bug, but when calendar field don't have set recurrent data or time period options, and entry is saved without data in this field, then such field don't show 'no date set' message in the entry view. Example XML data for three calendar fields:<br />
```
<field_standard_date id="5" itemprop="" type="calendar" suffix="" position="2" css_view="spClassViewCalendar" css-view="spClassViewCalendar" css_class="spClassCalendar" css-class="spClassCalendar">
<label lang="en-GB" show="1">Standard date</label>
<data></data>
</field_standard_date>
<field_recurrent_date id="6" itemprop="" type="calendar" suffix="" position="3" css_view="spClassViewCalendar" css-view="spClassViewCalendar" css_class="spClassCalendar" css-class="spClassCalendar">
<label lang="en-GB" show="1">Recurrent date</label>
<data lang="en-GB" class="spClassCalendar" timestamp="0" startdate="0" enddate="0" offset="0">no date set</data>
</field_recurrent_date>
<field_time_period id="7" itemprop="" type="calendar" suffix="" position="4" css_view="spClassViewCalendar" css-view="spClassViewCalendar" css_class="spClassCalendar" css-class="spClassCalendar">
<label lang="en-GB" show="1">Time period</label>
<data lang="en-GB" class="spClassCalendar" timestamp="0" startdate="0" enddate="0" offset="0">no date set</data>
</field_time_period>
```
Tested with ver. 2.2.0.102.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/CalendarField/-/issues/11Template files aren't copied to the section template2017-07-25T11:41:47ZSławek SikoraTemplate files aren't copied to the section templateEven on clean installation, when calendar field is added to the section, calendar template files aren't copied to the section template listing folder. They need to be copied manually in this moment.Even on clean installation, when calendar field is added to the section, calendar template files aren't copied to the section template listing folder. They need to be copied manually in this moment.2.2Sigrid SuskiSigrid Suski