[staging] [fields plugins] Deleting use of Telephone filter as it is broken#30142
[staging] [fields plugins] Deleting use of Telephone filter as it is broken#30142infograf768 wants to merge 3 commits intojoomla:3.10-devfrom
Conversation
Done, see infograf768#56 . |
…phone-mod-1 [CMS PR joomla#30142] Add update sql for postgresql and sqlazure
|
Done. Tks. |
|
It seems the language string can either be removed or be marked as deprecated, not sure what's the right way. As far as I could see it is only used at places where it is removed with this PR: |
|
One never knows what one does with some core strings. Also, let's hope someone, one day, when on booze, corrects the |
|
I see, one could still use the filter from the library and the corresponding text in some 3rd party stuff. All fine. |
|
@HLeithner |
|
Why don't we fix it? |
|
Good luck for that. The preg are very complex. |
How? |
|
Usually running the update query with PhpMyadmin, replacing |
|
I have tested this item 🔴 unsuccessfully on a45258d
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30142. |
|
Sorry, I do not understand your comment. Please post screenshots and results following also instrauctions in #18566 |
|
|
You are right and it looks like not fully. |
|
@infograf768 I would say we should close this PR for J3 and not break other sites. For now we could start a new PR to fix the migration sql against j4. |
@zero-24 Who will do the new PR? I don't think @infograf768 is still available. |
|
It should imho |
Pull Request for Issue #18566
Summary of Changes
The
TELForm filter being totally broken ( https://github.com/joomla/joomla-cms/blob/staging/libraries/src/Form/Form.php#L1466-L1544 ), the filter should never be used in the fields parameters.Changing telephone filter
teltotextin sql upgrade#__fieldstable for B/C.Taking off the Telephone filter in the fields plugin parameters.
Testing Instructions
Create 3 fields (type text, textarea, repeatable->text
Use the Telephone filter => number always get an unwanted period when saved when editing an article, various formats are not honored.
Patch and try to create new fields of the same type (no need to save them)
The filter field telephone is no more proposed.
Use the new sql update => all existing fields which have been set with the
telfilter are modified to use thetextfilter.@richard67
I only created the sql update for
mysql. Please add forpostgresqlandsqlazure