Fix for 1923 movement tracking error#1939
Open
poplarmedia wants to merge 1 commit into
Open
Conversation
Contributor
|
You should really link back to the issue that this is trying to fix, in this case issue #1923. Not sure you are aware, but you didn't rebase against dev/2.0 before you submitted and it is undoing previous commits in the process, you need to fix that before it can even be considered. |
poplarmedia
force-pushed
the
fix/1923-movement-tracking
branch
from
June 25, 2026 01:37
825257d to
176b3b0
Compare
…lableLabelableBaseModelWithAttributes
poplarmedia
force-pushed
the
fix/1923-movement-tracking
branch
from
June 25, 2026 01:46
176b3b0 to
69d7b0e
Compare
Author
|
@Monica-Wood thank you for double checking my work, and catching the missed rebase. It should be fixed now. My apologies for not crediting your original research in the PR that helped me narrow the problem. That has been addressed as well, as has the ticket link. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1923
Root cause analysis by @Monica-Wood in the issue thread. This PR implements fixes based on her findings.
There are two edits:
app/models/ca_storage_locations.php— fixes$new_parent_idto read from the request rather than the model, and moves the guard check to after when the form data is availableapp/lib/BundlableLabelableBaseModelWithAttributes.php— preventstype_idwhen set via code from being overwritten by the request