Skip to content
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

fix: validate fieldname in get_group_by_count #21932

Merged
merged 3 commits into from
Aug 6, 2023

Conversation

barredterra
Copy link
Collaborator

No description provided.

@barredterra barredterra requested review from a team and surajshetty3416 and removed request for a team August 5, 2023 15:51
@github-actions github-actions bot added the add-test-cases Add test case to validate fix or enhancement label Aug 5, 2023
@barredterra barredterra added backport version-13-hotfix backport version-14-hotfix backport to version 14 and removed add-test-cases Add test case to validate fix or enhancement labels Aug 5, 2023
@sagarvora
Copy link
Contributor

rebased & force-pushed to re-run tests, merge commit would've been fine 😅

@ankush ankush merged commit 5fce1a5 into frappe:develop Aug 6, 2023
15 of 17 checks passed
mergify bot pushed a commit that referenced this pull request Aug 6, 2023
* fix: validate fieldname in get_group_by_count

* test: call get_group_by_count with invalid field

* test: is_default_field

(cherry picked from commit 5fce1a5)

# Conflicts:
#	frappe/desk/listview.py
#	frappe/tests/test_listview.py
#	frappe/tests/test_model_utils.py
@barredterra barredterra deleted the validate-fieldname branch August 6, 2023 12:04
ankush pushed a commit that referenced this pull request Aug 6, 2023
* fix: validate fieldname in get_group_by_count

* test: call get_group_by_count with invalid field

* test: is_default_field

(cherry picked from commit 5fce1a5)
ankush pushed a commit that referenced this pull request Aug 6, 2023
* fix: validate fieldname in get_group_by_count

* test: call get_group_by_count with invalid field

* test: is_default_field

(cherry picked from commit 5fce1a5)

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
ankush added a commit that referenced this pull request Aug 6, 2023
* fix: validate fieldname in get_group_by_count (#21932)

* fix: validate fieldname in get_group_by_count

* test: call get_group_by_count with invalid field

* test: is_default_field

(cherry picked from commit 5fce1a5)

# Conflicts:
#	frappe/desk/listview.py
#	frappe/tests/test_listview.py
#	frappe/tests/test_model_utils.py

* chore: conflicts

---------

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
frappe-pr-bot pushed a commit that referenced this pull request Aug 9, 2023
## [13.58.5](v13.58.4...v13.58.5) (2023-08-09)

### Bug Fixes

* center notes text in FileUploader ([#21901](#21901)) ([19e1811](19e1811))
* check before deleting prepared report ([#21950](#21950)) ([#21951](#21951)) ([bc9a901](bc9a901))
* debounce form refresh from realtime events ([#21905](#21905)) ([#21906](#21906)) ([b81153f](b81153f))
* disable activity log global search ([5d9d04a](5d9d04a))
* only allow system manager to start backups ([d51e13a](d51e13a))
* **print:** Added properties page-width, page-height ([a966031](a966031))
* validate fieldname in get_group_by_count (backport [#21932](#21932)) ([#21942](#21942)) ([dabbb73](dabbb73))
* validate type in share.get_users ([#21931](#21931)) ([#21933](#21933)) ([1270e63](1270e63))

### Performance Improvements

* **customize_form:** rebuild global search in bg ([4725505](4725505))
* lower limit for global search ([8ff3353](8ff3353))
frappe-pr-bot pushed a commit that referenced this pull request Aug 9, 2023
# [14.44.0](v14.43.1...v14.44.0) (2023-08-09)

### Bug Fixes

* added debounce for checking old and new password same or not ([76c6594](76c6594))
* added validation of (if old password === new password) ([f7a2c36](f7a2c36))
* allow cross child table links in dashboard ([d29b151](d29b151))
* autoincr status per doctype ([#21918](#21918)) ([#21920](#21920)) ([1fda93a](1fda93a))
* better UX ([ec7b78e](ec7b78e))
* center notes text in FileUploader ([#21902](#21902)) ([30e236c](30e236c))
* check before deleting prepared report ([#21950](#21950)) ([#21952](#21952)) ([41c7cd7](41c7cd7))
* check file permission before zipping ([#21934](#21934)) ([#21941](#21941)) ([ec71e07](ec71e07))
* debounce form refresh from realtime events ([#21905](#21905)) ([#21907](#21907)) ([5b221bf](5b221bf))
* Delete module folder on Module Def deletion ([#21857](#21857)) ([#21914](#21914)) ([4f29f39](4f29f39))
* disable activity log global search ([306b1b1](306b1b1))
* **DX:** Wrap print format errors (backport [#21944](#21944)) ([#21945](#21945)) ([0e56bfa](0e56bfa))
* fixed on click function ([6fc0439](6fc0439))
* grid don't remove search if filters are applied. ([c138e66](c138e66))
* ignore_user_type can be applied by System User (backport [#21990](#21990)) ([#21991](#21991)) ([66556d2](66556d2))
* include server script in recorder stack trace ([#21891](#21891)) ([af3dbbf](af3dbbf))
* keep privacy setting of attachments on amend ([#21911](#21911)) ([#21912](#21912)) ([1f586b2](1f586b2))
* Made Set Password Page Better ([91c112f](91c112f))
* only allow system manager to start backups ([7d0e4f1](7d0e4f1))
* support timespan filters for custom dashboard chart source ([67cf5c6](67cf5c6))
* update time_series on refresh, but not for custom chart_type ([2da5482](2da5482))
* validate fieldname in get_group_by_count ([#21932](#21932)) ([#21943](#21943)) ([a1c18a6](a1c18a6))
* validate type in share.get_users ([#21931](#21931)) ([5b42259](5b42259))
* workflow help ([482f004](482f004))
* **Workspace:** Clear bootinfo cache when creating a new workspace (backport [#21895](#21895)) ([#21964](#21964)) ([ba775ed](ba775ed))

### Features

* german translations for printed filters ([2443bf0](2443bf0))
* print all filters in report builder ([83b6fd2](83b6fd2))

### Performance Improvements

* **customize_form:** rebuild global search in bg ([dfbf859](dfbf859))
* lower limit for global search ([1b43c2d](1b43c2d))
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants