Closed (works as designed)
Project:
Bootstrap
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 May 2014 at 18:25 UTC
Updated:
28 Feb 2018 at 17:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dqdComment #2
dqdchanging bootstrap/theme/system/image.vars.php
to:
... solved it. But this will overwrite the complete values regarding the key
['class'], not sure if this is wanted. Also I don't know why we have a double if here instead of an elseif ... Let me know what you think. Thanks ...Comment #3
dqdComment #4
dqdComment #5
dqdComment #6
dqdComment #7
markhalliwellSee the issue summary update above. I am making this issue the "go to" for this error.
Comment #8
markhalliwellComment #9
markhalliwellComment #10
markhalliwellComment #11
gollyg commentedI think that this may be an issue with the bootstrap textfield.func.php file.
It is calling drupal_attributes() early in the theming process. This function modifies the contents of the attribute array by referring to values by reference. This leads to the array structure changing. Later in the bootstrap function we are relying on the attribute array to be unchanged.
I have added a patch which creates a clone of the array, and passes the clone to the drupal_attributes function.
Comment #12
markhalliwellNULLto an array. To get around that you'd just do something like:Comment #13
markhalliwellComment #14
markhalliwellComment #15
markhalliwellClosing issue