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

Reuse existing feed #1067

Merged
merged 22 commits into from
Sep 24, 2024
Merged

Reuse existing feed #1067

merged 22 commits into from
Sep 24, 2024

Conversation

message-dimke
Copy link
Contributor

@message-dimke message-dimke commented Sep 16, 2024

Changes proposed in this Pull Request:

Closes #1060

The PR aims to fix multiple things related to the feed deletion issue.

  • The update procedure will remove duplicates of the Feed Deletion Failure notice.
  • Feed deletion failure notice also got an updated text.
  • Existing feeds to be fetched from Pinterest and reactivated, if any.
  • Removing the condition to auto-disconnect the plugin in case of 403 Pinterest API error response (Pinterest returns 403 when an unapproved merchant can not delete their feed, which is not an access token-related issue, and we do not need to disconnect in this case).

Changelog entry

Fix - Feed Deletion Failure notice duplicates removal.
Fix - Reuse existing feed, if any.
Fix - 403 Pinterest API error response is not the reason to auto-disconnect.
Dev - Tests suits update.

@message-dimke message-dimke self-assigned this Sep 16, 2024
@github-actions github-actions bot added changelog: fix Took care of something that wasn't working. type: bug The issue is a confirmed bug. labels Sep 16, 2024
@message-dimke message-dimke marked this pull request as ready for review September 19, 2024 15:20
@message-dimke message-dimke requested a review from a team September 19, 2024 15:20
src/Feeds.php Outdated Show resolved Hide resolved
src/Feeds.php Outdated Show resolved Hide resolved
Copy link
Collaborator

@budzanowski budzanowski left a comment

Choose a reason for hiding this comment

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

Left two comments, a nitpicks, looks good. Approving.

message-dimke and others added 3 commits September 24, 2024 09:24
Co-authored-by: Bartosz Budzanowski <[email protected]>
- Refactoring to early exit methodology.
@message-dimke message-dimke merged commit 0a8159b into develop Sep 24, 2024
4 checks passed
@message-dimke message-dimke deleted the fix/reuse-existing-feed branch September 24, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: fix Took care of something that wasn't working. type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

25 Feed Deletion Failed messages
2 participants