User tests: Successful: Unsuccessful:
Updates the CMS Framework package to framework/filter 1.2.0 with Composer
Backports Framework changes: Allow arrays of numbers to be processed by clean() and associated tests.
joomla-framework/filter#13
Backports additional changes from framework/filter 1.2.0
Testing
https://docs.joomla.org/Testing_Joomla!_patches
Do a general check that the various existing forms in the CMS function as expected.
Status | New | ⇒ | Pending |
Labels |
Added:
?
?
|
@photodude I'll test this if I can. What is the best procedure to test as I don't have in depth knowledge of the code as I'm only a frontend developer ;)
I would just do a general check that the various existing forms in the CMS function as expected.
I'm not sure there are any easy tests beyond that which could have a "clean" method triggered for testing.
@brianteeman Unlike @wilsonge 's PR #8734 for updating to the current the framework package. This filter class is used in the CMS core.
This should have consideration for merging for 3.5
Title |
|
Not sure why that comment is addressed at me. I have no say on what gets merged or when
Labels |
Added:
?
|
Merge this: photodude#1
Get some testers in here. I've gotta focus on the sql upgrade. But added a 3.5 blocker tag as even though the FW filter package isn't being used by core - let's not run into PHP 7 issues because 3rd parties are using the framework filter package :)
Labels |
Added:
?
|
I received an error after applying this patch.
Fatal error: Uncaught Error: Class 'ComposerAutoloaderInit205c915b9c7d3e718e7c95793ee67ffe' not found in C:\xampp\htdocs\sites\aviondemo\libraries\vendor\autoload.php:7 Stack trace: #0 C:\xampp\htdocs\sites\aviondemo\libraries\cms.php(33): require() #1 C:\xampp\htdocs\sites\aviondemo\administrator\includes\framework.php(23): require_once('C:\\xampp\\htdocs...') #2 C:\xampp\htdocs\sites\aviondemo\administrator\index.php(40): require_once('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\sites\aviondemo\libraries\vendor\autoload.php on line 7
I applied the patch to a 3.5 beta site running php 7.0.2
Let me know if I can provide any more info.
Steve
@Stevec4 Thanks for testing, I didn't create the part of this PR for the composer changes So I'll have to dig into what's going on.
I'm not sure, but I think this patch might need to be applied against Stagging, before the composer changes were added it would have been a test against 3.4.8 or possibly 3.5B2.
The composer changes and the PHP7 compatibility add some different dynamics.
I'll see if I can rebase this soon since there are some new merge conflicts.
@photodude I have re applied the patch to both a 348 install and a 3.50b2 install with no issues.
I checked several forms and they seem to function correctly.
Steve
I have tested this item successfully on 23ca41a
Test OK
@Stevec4 thanks for the test. Would you please go to the issue tracker and mark it as a successful test.
https://issues.joomla.org/tracker/joomla-cms/8681
Status | Pending | ⇒ | Ready to Commit |
Labels |
Manually added the test from @Stevec4
Marking RTC - thanks everyone
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-02-26 17:35:23 |
Closed_By | ⇒ | wilsonge |
Milestone |
Added: |
Merged -thanks all!
Labels |
Removed:
?
|
Thanks Everyone. I appreciate all the work and testing.
Labels |
Removed:
?
|
@mbabker Here is the backport of the recent framework changes for the input filter clean() method and test.