Rishabh Daim created SLING-13309:
------------------------------------
Summary: GraphQL schema aggregator: tolerate unknown ALLCAPS
labels inside section content
Key: SLING-13309
URL: https://issues.apache.org/jira/browse/SLING-13309
Project: Sling
Issue Type: Bug
Reporter: Rishabh Daim
h3. Summary
SLING-10620 introduced strict section-name validation in PartialReader. This
causes valid existing partials to fail when section content includes markers
like TODO:.
h3. Impact
org.apache.sling.graphql.schema.aggregator 0.0.2 logs "Error reading partial
..." and rejects partials such as ibiza.command.txt.
h3. Proposed fix
Keep strict validation for top-level headers (before the first valid section),
but treat unknown ALLCAPS: lines inside an already-open valid section as normal
content.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)