https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10190

--- Comment #606 from ChloĆ© Zermatten <[email protected]> ---
Created attachment 196006
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196006&action=edit
Bug 10190: Fix false conflict error when editing specific trigger rules

When editing a specific rule (e.g. */Kids/Books) alongside an all/all/all
rule, the conflict check incorrectly reported a conflict. The effective=true
API response always returns context as */*/* (fallback), so ruleSetInDb.context
differed from currentRuleSet.context (which was overridden to the real
context).

Fix by overriding ruleSetInDb.context before the hasConflict comparison,
consistent with the existing pattern in setCurrentRuleSet.

Signed-off-by: Michaela <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to