Closed leo-dcfa closed 2 months ago
Thanks for the report, @leo-dcfa. This task isn't sanitizing XML, so I think that's the likely culprit. Does the affected org have a picklist value on StageName
that contains an ampersand (&
)?
@jstvz you are right, Identify & Qualify
is a value. Seems like an easy fix - I'm happy to tackle it, Python is my most used language. Do we have a preferred way of escaping characters?
Thanks, @leo-dcfa! You can use xml.sax.saxutils.escape
from the stdlib. For example, see:
@jstvz https://github.com/SFDO-Tooling/CumulusCI/pull/3827/files there you go
Fixed by #3827
Describe the bug
We use cci to manage multiple customer environments and one of the tasks we have is to ensure a certain record type exists. This task works for 60+ orgs but fails for one of them:
The task works in all orgs except for one, it fails with:
Reproduction steps
Run cci task against specific org; otherwise unable to reproduce in other orgs
Your CumulusCI and Python versions
cci: 3.91.0 python version: 3.10.0
Operating System
macOS
Windows environment
No response
CumulusCI installation method
None
Error Gist
https://gist.github.com/leo-dcfa/20e05c1a2981dd04df3b6f64de1db9cc
Additional information
No response