Skip to content

docs(changelog): merge the split Database section and record the redirect fix - #147

Merged
mambax7 merged 1 commit into
XOOPS:masterfrom
mambax7:docs/changelog-2.7.3-tidy
Jul 28, 2026
Merged

docs(changelog): merge the split Database section and record the redirect fix#147
mambax7 merged 1 commit into
XOOPS:masterfrom
mambax7:docs/changelog-2.7.3-tidy

Conversation

@mambax7

@mambax7 mambax7 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Housekeeping on the curated 2.7.3 Beta 1 notes, found while writing the release announcement.

Changes

Two Database: headings merged. #143's entry was added at the top of the 2.7.3 block rather than beside the existing entry from #130, so the section appeared twice. They are now one section, and #143's entry gained the PR reference it was missing.

#145 had no curated entry. It landed after the section was written, so the login redirect fix now appears under a new Redirects: heading — with the detail the generated one-liner cannot carry: why a URL holding an HTML entity hid the fault for exactly one hop, and what made it start accumulating layers.

Note

Unrelated to this PR, but worth recording: the duplicate v2.7.3_Beta1 tag has been deleted, leaving only v2.7.3-Beta1. The auto-generated changelog PR (#146) was produced while both tags pointed at the same commit and picked the underscore form, so it needs regenerating before merge.

Summary by Sourcery

Tidy up the curated 2.7.3 Beta 1 changelog entries for database and redirect changes.

Documentation:

  • Merge duplicated Database section entries in the 2.7.3 changelog and ensure PR references are recorded.
  • Document the login redirect fix with additional context under a new Redirects heading in the 2.7.3 changelog.

Summary by CodeRabbit

  • Bug Fixes

    • Improved database error handling for invalid result-set method inputs.
    • Enhanced query error messages and faster failure when the target table is not set.
    • Fixed login redirects containing escaped ampersands that could alter URL parameters.
  • Documentation

    • Updated the 2.7.3 Beta 1 changelog with the latest database and redirect fixes.

…rect fix

The 2.7.3 block carried two "Database:" headings, because XOOPS#143's entry was
added at the top of the section rather than beside the existing one from
XOOPS#130. They are one section now, and XOOPS#143 gained the PR reference it was
missing.

XOOPS#145 had no curated entry at all -- it landed after the section was
written -- so the login redirect fix appears under a new "Redirects:"
heading, with the detail the generated one-liner cannot carry: why a URL
carrying an HTML entity hid the fault for exactly one hop, and what made
it start accumulating.
Copilot AI review requested due to automatic review settings July 28, 2026 05:52
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@sourcery-ai

sourcery-ai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Cleans up the curated 2.7.3 Beta 1 changelog notes by consolidating duplicate Database sections, adding the missing PR reference, and adding a curated entry for the login redirect fix.

File-Level Changes

Change Details Files
Consolidated duplicate Database sections and added missing PR reference. docs/changelog.270.txt
Added curated entry for login redirect fix under a new Redirects section. docs/changelog.270.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 471f601f-126e-43a3-82b5-dbf4e86b56c1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@gitar-bot

gitar-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 1 issue

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="docs/changelog.270.txt" line_range="42" />
<code_context>
 - keep the speculative unserialize() probe out of the error log (mamba) in #130

 Database:
+- return the documented failure value instead of fataling when a result-set method is handed something that is not one. A failed query returns false and a mis-wired caller can pass the SQL string itself; PHP 8 turns both into an uncaught TypeError inside mysqli, so one bad call from one module blanked the whole page. Observed on xoops.org from modules/core/brokenfile.php. The misuse is still reported, so the caller's bug stays visible (mamba) in #143
 - name the handler and table on query errors, and fail fast when the table is unset, so a failure identifies itself instead of surfacing as an anonymous error (mamba) in #130

</code_context>
<issue_to_address>
**suggestion (typo):** Consider rephrasing “fataling” to a more standard construction.

“Instead of fataling” is non-standard English. Consider alternatives like “instead of causing a fatal error” or “instead of failing fatally” for clearer wording.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread docs/changelog.270.txt
- keep the speculative unserialize() probe out of the error log (mamba) in #130

Database:
- return the documented failure value instead of fataling when a result-set method is handed something that is not one. A failed query returns false and a mis-wired caller can pass the SQL string itself; PHP 8 turns both into an uncaught TypeError inside mysqli, so one bad call from one module blanked the whole page. Observed on xoops.org from modules/core/brokenfile.php. The misuse is still reported, so the caller's bug stays visible (mamba) in #143

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

suggestion (typo): Consider rephrasing “fataling” to a more standard construction.

“Instead of fataling” is non-standard English. Consider alternatives like “instead of causing a fatal error” or “instead of failing fatally” for clearer wording.

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 19.29%. Comparing base (df231c2) to head (af115ca).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #147      +/-   ##
============================================
+ Coverage     18.96%   19.29%   +0.32%     
- Complexity     8091     8227     +136     
============================================
  Files           670      672       +2     
  Lines         43925    44265     +340     
============================================
+ Hits           8332     8539     +207     
- Misses        35593    35726     +133     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mambax7
mambax7 merged commit 43e990f into XOOPS:master Jul 28, 2026
14 checks passed
@mambax7
mambax7 deleted the docs/changelog-2.7.3-tidy branch July 28, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants