Skip to content

Functional fixes - #46

Open
trasher wants to merge 15 commits into
developfrom
feature/functional-fixes
Open

trasher wants to merge 15 commits into
developfrom
feature/functional-fixes

Conversation

@trasher

@trasher trasher commented Sep 30, 2026

Copy link
Copy Markdown
Member

No description provided.

@trasher
trasher requested a review from gagnieray September 30, 2026 12:24
@gagnieray
gagnieray added this pull request to stack #54 September 30, 2026 20:41

@gagnieray gagnieray left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I trust you completely regarding the changes related to PostgreSQL 😉

Comment thread .php-cs-fixer.dist.php Outdated
Comment on lines +21 to +22
-- 1.0.0 states were 0 (public donation), 1 (processed), 2 (error), 3 (incomplete)
-- and 4 (already done); incomplete payments did not create any contribution

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
-- 1.0.0 states were 0 (public donation), 1 (processed), 2 (error), 3 (incomplete)
-- and 4 (already done); incomplete payments did not create any contribution
-- 1.0.0 states were 0 (none), 1 (processed), 2 (error) and 3 (already
-- done); incomplete payments did not create any contribution

If I'm not mistaken... See : https://github.com/galette-plugins/plugin-helloasso/pull/26/changes#diff-b0bcc756cebfd17d332ef50d7ef71c614e459acdcc27a5de51e24488ed4f945e

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think I'm correct. That commit has been added after the 1.0.0 release; the migration script will work withon only <=1.0.0 data - so we must use the old values verbatim.

WHEN state = 0 THEN 3
state = CASE state
WHEN 0 THEN 3
WHEN 3 THEN 2

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
WHEN 3 THEN 2
WHEN 3 THEN 4

WHEN state = 0 THEN 3
state = CASE state
WHEN 0 THEN 3
WHEN 3 THEN 2

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
WHEN 3 THEN 2
WHEN 3 THEN 4

Comment on lines +23 to +24
-- 1.0.0 states were 0 (public donation), 1 (processed), 2 (error), 3 (incomplete)
-- and 4 (already done); incomplete payments did not create any contribution

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
-- 1.0.0 states were 0 (public donation), 1 (processed), 2 (error), 3 (incomplete)
-- and 4 (already done); incomplete payments did not create any contribution
-- 1.0.0 states were 0 (none), 1 (processed), 2 (error) and 3 (already
-- done); incomplete payments did not create any contribution

Same comment as for upgrade-to-1.0.0-mysql.sql : if I'm not mistaken... See : https://github.com/galette-plugins/plugin-helloasso/pull/26/changes#diff-b0bcc756cebfd17d332ef50d7ef71c614e459acdcc27a5de51e24488ed4f945e

@trasher
trasher force-pushed the feature/functional-fixes branch from 0986a44 to e110339 Compare October 4, 2026 14:13
Co-authored-by: Guillaume AGNIERAY <107203963+gagnieray@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants