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

[Help Editor] Fix array issues caused by super confusing code #2969

Merged
merged 5 commits into from
Oct 23, 2017
Merged

[Help Editor] Fix array issues caused by super confusing code #2969

merged 5 commits into from
Oct 23, 2017

Conversation

johnsaigle
Copy link
Contributor

  • Fix help editor so that parent help topics are successfully retrieved

  • Prevent generation of PHP Notices relating to non-existing array keys

  • Rename variables to be descriptive

  • Add lots of comments to make code more understandable

I know normally we separate cleanup/refactoring from bug fixes but I was unable to fix the bug without first renaming and refactoring the code to make it clear what was actually being accomplished.

I've marked this as 17.1 because it is a bug fix but if this needs to go to 17.2 because of refactoring changes that's also fine.

@johnsaigle johnsaigle added Category: Bug PR or issue that aims to report or fix a bug Cleanup PR or issue introducing/requiring at least one clean-up operation labels Jul 20, 2017
@johnsaigle johnsaigle added this to the 17.1 milestone Jul 20, 2017
@driusan driusan modified the milestones: 17.2, 17.1 Jul 20, 2017
@driusan driusan removed this from the 18.1 milestone Oct 2, 2017
@ridz1208 ridz1208 changed the base branch from 17.1-dev to minor October 21, 2017 17:28
Copy link
Contributor

@xlecours xlecours left a comment

Choose a reason for hiding this comment

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

It is a step forward.

@xlecours xlecours added the Passed manual tests PR has been successfully tested by at least one peer label Oct 23, 2017
@driusan driusan merged commit 3c82b37 into aces:minor Oct 23, 2017
@ridz1208 ridz1208 added this to the 18.1 milestone Oct 24, 2017
kongtiaowang pushed a commit to kongtiaowang/Loris that referenced this pull request Oct 30, 2017
)

Prevent generation of PHP Notices relating to non-existing array keys in help_editor
kongtiaowang pushed a commit to kongtiaowang/Loris that referenced this pull request Oct 30, 2017
)

Prevent generation of PHP Notices relating to non-existing array keys in help_editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug PR or issue that aims to report or fix a bug Cleanup PR or issue introducing/requiring at least one clean-up operation Passed manual tests PR has been successfully tested by at least one peer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants