-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] com_content: correct incomplete group by clause (mistake: wrong branch) #13027
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changed the reqex for all unknown protocols. Removed the + character for the whitespace to solve a max_execution_timeout exception. If you have a large output document the regex '#\s+(src|href|poster)="(?!/|' . $protocols . '|\#|\')([^"]*)"#m' takes way to long. Supporting only one \s will do the trick as well. The result will be additional spaces between attributes, but this shouldn't harm.
* Delete unnecesary catslug from mod_related_items * remove whitespace * catslug depricated note * start comment with a capital letter * add blank line * Update helper.php * Update helper.php
* Delete unnecesary catslug from mod_related_items * remove whitespace * catslug depricated note * start comment with a capital letter * add blank line * Update helper.php * Update helper.php
* nested-form: Delete unnecesary catslug query from mod_related_items (joomla#8946)
* Correcting login/logout lang strings * Updating strings
…oomla#12656) * com_fields: Allow translation of field label via language string * better this way
…2454) * Uodating Hathor to use new Live and Upload for joomlaupdate * Changing float of #form-login * Adding min-height
…oomla#12879) * Using a neutral colour for multilingual buttons at installation time * Using a darker shade of blue * Reduce CSS, using wildcard
* update tooltip * update in the item view options
* Update web.php setHeader $replace previously did nothing other than delete a value - even when false it allowed a duplicate to be created which effectively replaces the original. This modification searches for an existing header with the same name and only inserts it if it doesn't already exist, or if $replace is true. * JApplicationWeb::setHeader behavior Fix Travis CI error regarding invalid foreach * JApplicationWeb::setHeader behavior Formatting changes * JApplicationWeb::setHeader behavior Formatting issues * Fix testSetHeader in line 1314 ��"$this->class->setHeader('foo', 'car');", the method is called without the $replace argument, meaning it uses the default of "false". The way headers are set, allowing a duplicate here means the header is replaced in JApplicationWeb::header. If $replace isn't enforced in setHeader then duplicates mean the header gets replaced anyway. The attempted entry is removed from the assertEquals test. * JApplicationWeb -setHeader and sendHeader upgrade Current Joomla header operation causes a duplicate header to replace an original header even when $replace = false. The replacement is a result of interaction between setHeader and sendHeader. setHeader happily adds duplicate entries when $replace = false sendHeader happily replaces headers because its default is to replace This commit alters both: setHeader now checks an internal list of headers which may only have one value. If the header is a single value only, the header array is updated only if $replace = true and the update is ignored otherwise If the header is not a single value, the header is replaced if $replace = true, otherwise it is added as a multiple value sendHeader now creates a new array of values, aggregating values under the header name. When the header is sent to the header() method, its value is imploded on ', ' * Returning test to original state this should be removed from the branch but I'm not sure how to do it. * JApplicationWeb::setHeader behavior Update to fix status header * JApplicationWeb -setHeader and sendHeader upgrade Fixing for test output * JApplicationWeb -setHeader and sendHeader upgrade formatting * JApplicationWeb -setHeader and sendHeader upgrade formatting * JApplicationWeb -setHeader and sendHeader upgrade formatting * JApplicationWeb -setHeader and sendHeader upgrade refinement - removed unnecessary parens * JApplicationWeb -setHeader and sendHeader upgrade performance enhancement * JApplicationWeb -setHeader and sendHeader upgrade performance enhancements, 2 fewer foreach iterations for the headers * JApplicationWeb -setHeader and sendHeader upgrade formatting fix * JApplicationWeb -setHeader and sendHeader upgrade Missed a variable change i sendHeader * JApplicationWeb -setHeader and sendHeader upgrade formatting fix * Update web.php * JApplicationWeb -setHeader and sendHeader upgrade fix formatting * JApplicationWeb -setHeader and sendHeader upgrade Adding ability to unset (remove) an existing header using $replace=true and $value=null setHeader('name', null, true) now removes the header entirely, where previous behavior would have sent the header with an empty value. * JApplicationWeb -setHeader and sendHeader upgrade formatting fix
* Get the correct height of the iframe * Making it more robust for all browsers
* Add Tag filter * Codestyle * add string * Updating XML file to use new string
…ed (joomla#12815) * add menu type id to the model so we can use it on acl checks * add the correct acl check
…ing a new category (joomla#12820) * Update category.php * Update category.php
…mla#12826) * Update view.html.php * Update default.php
* make google authenticator a link and add freeotp as an example * add intro * remove google * another freeotp link
* return translated number * ups * cs * fix unit tests * fix last unit tests * minor cs
* remove tab on meta charset * Update code
* Fix Undefined offset * tabs/spacing * If someone has faked an article id - dont show trace, show an error * make travis happy * make travis happy * travis I hate you * tab/space hell * tab/spaces hell * changes as requested * remove the $language var as per comment
* Update menu.php * Update item.php
The feature item filter was already available for the mod_articles_latest module, but that is just a list. All code was slightly modified from the mod_articles_latest module. Language File - Added three variables (description, lable and value) Helper - Copy and pasted the switch from mod_articles_latest (same parameter ordering too) Parameter file - Added field after order (mirroring _latest)
Well done @dgt41
Export of Banners Tracks Does Not Export the Banner Name
* Remove duplicate "Google Authenticator" and a space within an anchor tag. * Added a missing link to Google Authenticator
Summary of Changes Fixed a small typo in the comment. enabed > enabled Testing Instructions Code review Documentation Changes Required None
…se. (joomla#13010) * Coding standards. The PHP constants true, false, and null MUST be in lower case. * Update restore.php
wrong branch ... will remake |
andrepereiradasilva
changed the title
[4.0] com_content: correct incomplete group by clause
[4.0] com_content: correct incomplete group by clause (mistake: wrong branch)
Nov 26, 2016
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/13027 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request for New Issue.
Summary of Changes
If you enable associations in language filter 4.0 branch is producing an sql error because of the group by clause.
Related to the more strict
ONLY_FULL_GROUP_BY
sql_mode added in 4.0 branch (#12494)Testing Instructions
Mainly code review, but you can also
Documentation Changes Required
None.