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 repeated build-nested-set warning (#1634) #1682

Merged

Conversation

phalene-bytes
Copy link
Contributor

Removes "Note: you will need to rebuild your search index for updates to show up properly in search results." out of recursivelyUpdateTree() function

Copy link
Contributor

@anvit anvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some comments on a couple of minor issues, but otherwise this works as expected! Thanks @phalene-bytes!

lib/task/propel/propelBuildNestedSetTask.class.php Outdated Show resolved Hide resolved
lib/task/propel/propelBuildNestedSetTask.class.php Outdated Show resolved Hide resolved
lib/task/propel/propelBuildNestedSetTask.class.php Outdated Show resolved Hide resolved
Copy link
Contributor

@anvit anvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, another minor nitpick! — the commit message header should be 50 characters max, and we usually have the issue number in the brackets at the end (this helps with GitHub's issue linking). I'd suggest amending the commit message to be less than 50 characters, and using the commit message body (72 characters per line) if you need more than 50 characters.

These are a couple of examples: 1490c23, c050c0b

@phalene-bytes phalene-bytes force-pushed the dev/issue-1634-build-nested-set-warning-repeats branch from 3f9541b to 84f99db Compare October 18, 2023 01:41
@phalene-bytes phalene-bytes force-pushed the dev/issue-1634-build-nested-set-warning-repeats branch from 84f99db to f4fa981 Compare October 18, 2023 01:49
@phalene-bytes phalene-bytes changed the title Remove search re-index warning from loop in build-nested-set task (#1634) Fix repeated build-nested-set task warning (#1634) Oct 18, 2023
@phalene-bytes phalene-bytes changed the title Fix repeated build-nested-set task warning (#1634) Fix repeated build-nested-set warning (#1634) Oct 18, 2023
@anvit anvit added this to the 2.8.0 milestone Oct 18, 2023
@anvit anvit added the Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result. label Oct 18, 2023
Copy link
Contributor

@anvit anvit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@phalene-bytes phalene-bytes merged commit 8ba9ccf into qa/2.x Oct 19, 2023
6 checks passed
@phalene-bytes phalene-bytes deleted the dev/issue-1634-build-nested-set-warning-repeats branch October 19, 2023 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem: Running the build-nested-set task outputs the search re-index warning repeatedly
2 participants