-
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
"paragraphsHtml" is a (not fully registered in language-forge) property of multi-paragraph custom fields.
I can sort of reproduce this, by (via source inspector) enabling a custom field of the appropriate type and making a change. The error is the same, but the stack trace is different:
The requested lazy property "paragraphsHtml" is not defined in "Api\Model\Languageforge\Lexicon\LexMultiParagraph#00000000048180c3000000006e2d6915" line 40 /var/www/html/vendor/ocramius/lazy-property/src/LazyProperty/Exception/InvalidLazyProperty.php
DeepDiffDecoder.php line 133, DeepDiffDecoder::setValue(Api\Model\Languageforge\Lexicon\LexMultiParagraph, paragraphsHtml, Test)
DeepDiffDecoder.php line 67, DeepDiffDecoder::applySingleDiff(Api\Model\Languageforge\Lexicon\LexEntryModel, Api\Model\Shared\DeepDiff\EditedDiff)
LexEntryCommands.php line 144, DeepDiffDecoder::applyDeepDiff(Api\Model\Languageforge\Lexicon\LexEntryModel, Array)
Sf.php line 574, LexEntryCommands::updateEntry(646f41bbaae5f044cd0d5882, Array, 646f35ce9d2d21f4b9c0f514)
I assume the user has a "paragraphsHtml" in their database. I cannot reproduce that. I don't know where it comes from. I've tried quite a few things in FLEx and all I end up with is "paragraphs" which can contain HTML:
"customField_entry_Html_Notes": {
"inputSystem": "en",
"paragraphs": [
{
"guid": "8a8dde41-dfb7-4537-969b-99fe766e18a2",
"styleName": "Heading 1",
"content": "My no"
},
{
"guid": "d3fb3d5b-162e-44d6-a754-25cae9a776cb",
"styleName": "Normal",
"content": "asd <span lang=\"seh\">new WS</span>
"
},
{
"guid": "343c317e-9605-4777-82c5-a571a8b37f6b",
"styleName": "Normal",
"content": null
},
{
"guid": "ba5d5c79-d554-4dc8-82ca-b653cebb23ba",
"styleName": "Normal",
"content": null
},
{
"guid": "61cbfeea-30eb-41b1-b127-e0ce5ec2cfc2",
"styleName": "Normal",
"content": "<span class=\"styleName_Hyperlink\">asd</span>"
},
{
"guid": "c90a005e-cc46-4e80-9520-f961fa608be9",
"styleName": "Normal",
"content": null
},
{
"guid": "86ebc385-9dec-4bb2-8558-df24fe370ab7",
"styleName": "Normal",
"content": "<span class=\"styleName_Added_SPACE_Text\">asdasd</span>
"
}
]
},
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done
