? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
30 Jan 2021

Summary of Changes

This internal changes. To prevent bootstrap.loadComponent from being redefined.
The bootstrap components should be a list of predefined assets.

For now I suggest just make this method "private", so later one we can improve/trash it safely

Testing Instructions

Apply patch. All should work as before.

Actual result BEFORE applying this Pull Request

All works

Expected result AFTER applying this Pull Request

All works

Documentation Changes Required

none

bip bip @dgrammatiko @wilsonge

avatar Fedik Fedik - open - 30 Jan 2021
avatar Fedik Fedik - change - 30 Jan 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2021
Category Libraries
avatar dgrammatiko dgrammatiko - test_item - 30 Jan 2021 - Tested successfully
avatar dgrammatiko
dgrammatiko - comment - 30 Jan 2021

I have tested this item successfully on 5515b5e


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

avatar wilsonge
wilsonge - comment - 30 Jan 2021

You can't override a single method anymore with the namespaced registry. You can only override the entire class. So not really sure if this solves much?

avatar bembelimen
bembelimen - comment - 30 Jan 2021

I wonder, why do you want to prevent this at all? If someone explicit want to change this method, why not allowing it?

avatar Fedik
Fedik - comment - 30 Jan 2021

You can only override the entire class. So not really sure if this solves much?

Well, I not very know how new HTML registry work, so just to be safe,
Someone still can extend the class.

If someone explicit want to change this method, why not allowing it?

This method need to be improved, and possible will be need to remove in future.
Example, the assets need to be predefined and loaded via $wa->useScript('bootstrap.blabla').
Currently I do not have a time for full changes.

avatar dgrammatiko
dgrammatiko - comment - 30 Jan 2021

This method need to be improved, and possible will be need to remove in future.

Ok, I will do that and drop this stupid method.

PS If I didn't mess up #32208 should do the trick

avatar Fedik Fedik - change - 30 Jan 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-01-30 14:38:14
Closed_By Fedik
Labels Added: ?
avatar Fedik
Fedik - comment - 30 Jan 2021

That was fast ?

avatar Fedik Fedik - close - 30 Jan 2021

Add a Comment

Login with GitHub to post a comment