OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: nospam on August 21, 2018, 05:03:24 pm

Title: Bug? 18.7 Text Field Edit Problems Safari
Post by: nospam on August 21, 2018, 05:03:24 pm
After updating to 18.7 I've discovered "Access Control List" data fields are now un-editable on Safari.  Other similar data fields are also affected.

I am unable to add new or edit data fields to Whitelists as the data is now displayed as a static drop down list box.

I can still view and edit the data in firefox.

Is this a known issue?
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: Animosity022 on August 21, 2018, 07:30:18 pm
Can you post a screenshot of one you can't edit? I'm not sure as I can hit everything in Safari fine from my quick checks.
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: nospam on August 21, 2018, 09:49:06 pm
How do I enable image uploading on this forum?  I have comparison shots between safari and firefox. 
Under /ui/proxy#subtab_proxy-general-authentication Safari Console shows a TypeError: Undefined is not a function opnsense_ui.js:215 so I'm guessing Safari doesn't like something in the javascript for that page which may be related to the drop down list box problem

(http://safari.jpg)

from the forum help it says
"Attachments - If enabled, this feature allows users to attach files to their posts in the same way as most e-mail clients. Users simply have to browse to the relevant files on their computer before selecting Post. Multiple attachments, up to the limit set by the administrator, can be added to a single post by selecting the Additional Attachments link. Users can delete their attachments or add more by modifying their posts. The permitted file types and sizes are set by the forum administrator. Some forums may display image attachments in line with the post or show them as thumbnails below the post."
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: Animosity022 on August 21, 2018, 09:56:11 pm
I usually just post imgur links for images.

I'm not following your navigation path. What are you going to from the left menu through?
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: nospam on August 21, 2018, 10:10:17 pm
Service - Web Proxy - Administration - Forward Proxy - Access Control List

Under Firefox the Whitelist shows up the way safari used to display the same page under version 18.1.  I just upgraded to 18.7 yesterday and now safari displays the Whitelist data fields as an un-editable dropbox list

SAFARI VIEW https://imgur.com/puYMy9S
FIREFOX VIEW https://imgur.com/grXobvz
SAFARI CONSOLE ERROR https://imgur.com/WpuOtzs
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: Animosity022 on August 21, 2018, 10:50:46 pm
What do you see on the full screen? I only see this:

(https://i.imgur.com/ndu4FJDh.png)
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: nospam on August 22, 2018, 02:15:22 pm
Click on the "Forward Proxy - Down Arrow icon" and select "Access Control List"
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: Animosity022 on August 22, 2018, 03:03:37 pm
Thanks.

I pulled up the same thing on Safari and it looks ok. Am I not doing something the same? Was trying to reproduce it:

(https://i.imgur.com/tE9q0Gol.png)
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: nospam on August 22, 2018, 03:55:58 pm
Under "Allowed Destination TCP Port" your browser is displaying the list that works.  Mine is displaying the list differently in Safari.

Which version of Safari are you running?  I'm using 11.1.2 which seems to be interpreting the JS differently.
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: Animosity022 on August 22, 2018, 03:57:29 pm
I'm on Version 11.1.2 (13605.3.8) as well. Do you have any plugins or anything else? I mainly use Chrome so my Safari is pretty plugin free.

Maybe try clearing the cache and reloading as well.
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: nospam on August 22, 2018, 04:26:03 pm
Bingo...forced clear of all caches and a cold hard restart of safari did it.  No more console errors now.  Thanks for confirming on your system!

Gotta love Apple, lots of entertainment!
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: Animosity022 on August 22, 2018, 04:54:02 pm
I think you hit a generic browser question as clearing the cache usually fixes most things like that. I end up clearing Chrome when I playing around with different things.

Happy you got it resolved.
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: nospam on August 23, 2018, 02:48:40 pm
Unfortunately Apple seems to have more than its fair share of idiosyncrasies with Safari not working with a lot of web sites and updates breaking existing functionality...cache or no cache
Title: Re: Bug? 18.7 Text Field Edit Problems Safari
Post by: franco on September 03, 2018, 04:30:26 pm
I proposed a caching fix for this, although it still has to go through security vetting as you can guess the version from the resource URL that is used to avoid excessive browser caching.

https://github.com/opnsense/core/issues/2367


Cheers,
Franco