Closed (fixed)
Project:
Barrio Bootstrap 5 Theme
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2019 at 20:27 UTC
Updated:
5 Apr 2020 at 02:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
morbus iffComment #3
morbus iffThis patch does the following:
Comment #4
morbus iffComment #6
morbus iffComment #7
postovan dumitru commentedHello!
The schema config for the
bootstrap_barrio_libraryis set as integer when it must be a string. The option is never saved in the settings form.Besides, the whole functionality is redundant. It basically replicates the attachment process of the library to the page which is also handled in the bootstrap_library module.
The configurations for the theme and the module will almost always contradict each other(if you define the local library and set the theme to use the local one and at the same time you use bootstrap_library module CDN functionality, you will end up with double libraries).
I think it's necessary to define conditional requirements for this theme:
I would really appreciate an input about this and as soon as we settle some "if's" here, we can also bug the maintainers from bootstrap_library about this.
Comment #8
morbus iff@Postovan Dumitru: Agree. There are actually a number of other configuration values that aren't used or set either. (Or, at least, feel like they need further investigation, like the _navbar_top_ stuff.) I was trying not to REMOVE things in this patch, though, to make it easier to accept :D
Comment #9
postovan dumitru commentedThe thing is: this theme has to be forced to accept whatever bootstrap_library is set to use as the delivery method, when the module is enabled of course.
As it is now, it is really misleading and should I mention wrong?
Comment #10
morbus iffIMO, that'd be a different issue, not this one.
Comment #11
postovan dumitru commentedOverall it is a different issue, but a small part of it is still related to the schema and theme settings.
Comment #12
joegraduateThe attached patch is a re-roll of #3 that applies cleanly to version 8.x-4.22 for anyone who needs to apply this patch directly to that released version.
Comment #13
ergophobe commented>>set as integer when it must be a string
I already have a patch for one serious issue caused by schema settings that are the wrong type.
#2977160: Missing Navbar on mobile due to incorrect values in schema file
There seems to be no active maintainer for this theme. Neither this issue nor the issue I made a patch for have received any response from the maintainer. The last commit was back in February - 8 months ago.
Comment #14
hatuhay commentedHello,
The theme is mantained and most requests responded in between 24 hours.
Documentation updated.
This is personal effort on spare time.
Whenever the direction of a patch is not perceived as in the right direction it is pointed out.
A new release should come, but it requires a lot of time and responsibility from my side as thousands of sites could crush of not verified on full detail.
If you wish to contribute testing the patches more than happy to receive your help.
Regards
Comment #15
hatuhay commented@joegraduate
Patch failed on DEV, could not apply yet.
Comment #16
hatuhay commentedComment #17
joegraduate@hatuhay the patch in #12 is not intended to be applied to dev. I uploaded it for the convenience of anyone needing to apply the patch to the 4.22 version, specifically.
I believe the original patch in #3 should still apply to the dev branch.
Comment #18
joegraduateComment #19
trackleft2» 7.x-4.22 should be » 8.x-4.22
Comment #20
trackleft2Can't delete files so have to add a new comment with the correct version number. 8.x-4.22
Comment #21
trackleft2Comment #22
trackleft2Comment #23
joegraduateThanks @trackleft2 for incorporating the D9 deprecation fixes from #3069680: Drupal 9 Deprecated Code Report here! We needed a way to apply both the fixes from that issue as well as this one in our build and your patches helped us do that.
We are now using the patch in #22 in our composer build because it applies cleanly to the tarball version of 8.x-4.22.
The attached patch is a re-roll of #20 / #22 that applies cleanly to the latest 8.x-4.x dev branch.
(Also restored original issue summary).
Comment #25
hatuhay commented