Bug 978119
| Summary: | RFE - resolve entities before payload is built or strings are sent to Zanata | ||
|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Misty Stanley-Jones <misty> |
| Component: | Web-UI | Assignee: | Lee Newson <lnewson> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.1 | CC: | lcarlon, lnewson, mcaspers |
| Target Milestone: | --- | ||
| Target Release: | 1.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-03 22:16:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1013882 | ||
|
Description
Misty Stanley-Jones
2013-06-26 02:39:33 UTC
Added in 1.3-SNAPSHOT build 201311211258 When pushing to Zanata the Topic XML is now processed to resolve any custom entities that are defined in the Content Spec "Entities" meta data. When syncing the same logic is applied to the XML before the sync is performed to ensure that the source strings match. Technical Notes: A new field on the TranslatedTopic table has been added to store the custom entities, this means that like conditions, it makes it easy to see what was resolved for the topic from it's base content. It also means that there is a lot less rest calls that are required to be made to find out the original content spec information (3 per topic to be precise). Custom entities in the Abstract of a content spec are not preprocessed when sent to Zanata e.g. an abstact of Abstract = <para>&TEST;</para> Appears in Zanata as <para>&TEST;</para> The above was using CSProcessor client version: 1.3-SNAPSHOT, Build 201311251152 Fixed in 1.3-SNAPSHOT build 201311290923 The content spec metadata wasn't being processed at all, so only topics where getting their custom entities resolved. Now all the translatable metadata nodes are processed to resolve any entities before being sent to Zanata. Tested a push of a spec with custom entities used by the abstract and subtitle, as well as topics that used the entities. All entities were replaced with text in Zanata. relevant content from a docs perspective noted in topic 25747 |