Skip to content

Plugin upgrade ends in "Proxy error" / timeout on large databases - #620

Open
tsmr wants to merge 5 commits into
pluginsGLPI:mainfrom
tsmr:FixInstall
Open

tsmr wants to merge 5 commits into
pluginsGLPI:mainfrom
tsmr:FixInstall

Conversation

@tsmr

@tsmr tsmr commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Fix #616

Checklist before requesting a review

Please delete options that are not relevant.

  • [X ] I have performed a self-review of my code.

Description

@tsmr

tsmr commented Oct 23, 2026

Copy link
Copy Markdown
Contributor Author

Hello
Please merge it
BR

@Rom1-B Rom1-B 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.

Can you add a test that runs the install() methods on an up-to-date schema and checks no same-name changeField() or addPostQuery() is queued? A couple of fieldHasType() assertions (decimal, int unsigned, missing column) would cover the display-width normalization too.

Comment thread inc/reference_supplier.class.php Outdated
}

//Legacy data forwarding below only applies to a pre-1.2.0 table
$is_legacy = $DB->tableExists("glpi_plugin_order_references_manufacturers");

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.

A DB still on plugin 1.2.0 to 1.4.x no longer gets the 1.5.0 entity forwarding with this guard. Probably fine given how old those versions are, just checking it's intended.

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.

Plugin upgrade ends in "Proxy error" / timeout on large databases

2 participants