? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
7 Feb 2021

Pull Request for Issue #32245 (part).

Summary of Changes

This small PR change field type of the url field type to url, also add validate="url" to make sure a valid URL needs to be saved before the menu item can be saved.

Testing Instructions

  1. Create a menu item of Iframe Wrapper menu item type
  2. Before patch: You can enter anything into URL
  3. After patch: Only valid URL is accepted
avatar joomdonation joomdonation - open - 7 Feb 2021
avatar joomdonation joomdonation - change - 7 Feb 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Feb 2021
Category Front End com_wrapper
avatar richard67 richard67 - change - 7 Feb 2021
The description was changed
avatar richard67 richard67 - edited - 7 Feb 2021
avatar joomdonation joomdonation - change - 7 Feb 2021
Labels Added: ?
avatar toivo
toivo - comment - 9 Feb 2021

One can still enter just ------------------ and it gets changed to http://------------------ - is that all the url does?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32342.

avatar joomdonation
joomdonation - comment - 9 Feb 2021

@toivo I would say that the filtered URL is still not valid. However, that mean that is something wrong with the URL validation rule of our form library. That should be addressed in a separate PR.

avatar ceford ceford - test_item - 11 Feb 2021 - Tested successfully
avatar ceford
ceford - comment - 11 Feb 2021

I have tested this item successfully on e81e033

I give this a pass because it sets the field parameters in the form xml file to what I expect. Fixing the client and server side validation to only accept a valid url are separate issues.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32342.

avatar toivo toivo - test_item - 11 Feb 2021 - Tested successfully
avatar toivo
toivo - comment - 11 Feb 2021

I have tested this item successfully on e81e033

Tested successfully in Beta8-dev of 9 February.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32342.

avatar richard67 richard67 - change - 12 Feb 2021
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 12 Feb 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32342.

avatar wilsonge wilsonge - change - 12 Feb 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-02-12 16:07:49
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 12 Feb 2021
avatar wilsonge wilsonge - merge - 12 Feb 2021
avatar wilsonge
wilsonge - comment - 12 Feb 2021

Thanks!

Add a Comment

Login with GitHub to post a comment