Skip to content

Add guidance for multiselect attribute save issues#15

Merged
isinkler merged 1 commit into
masterfrom
v1.4.1
Mar 24, 2026
Merged

Add guidance for multiselect attribute save issues#15
isinkler merged 1 commit into
masterfrom
v1.4.1

Conversation

@isinkler
Copy link
Copy Markdown
Contributor

Documents a potential workaround for problems with saving multiselect attribute values caused by early return logic intended to reduce frequent updates. Instructs users to comment out the early return if such issues arise, clarifying the trade-off between update frequency and attribute persistence.

Documents a potential workaround for problems with saving
multiselect attribute values caused by early return logic
intended to reduce frequent updates. Instructs users to
comment out the early return if such issues arise, clarifying
the trade-off between update frequency and attribute persistence.
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds inline guidance in the Magento observers that update ce_updated_at, describing a potential workaround when users report multiselect attribute save issues allegedly related to the “updated recently” early-return guard.

Changes:

  • Add NOTE comments above the wasUpdatedRecently() early-return in product-related observers.
  • Document a troubleshooting step (commenting out the early return) and its trade-off (more frequent updates).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
Observer/StockItemObserver.php Adds a NOTE above the early return in the stock item observer explaining a potential workaround.
Observer/ProductObserver.php Adds a NOTE above the early return in the product observer explaining a potential workaround.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Observer/StockItemObserver.php
Comment thread Observer/ProductObserver.php
@isinkler isinkler merged commit 75fde46 into master Mar 24, 2026
4 checks passed
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