error on SDK 4.1.0.14965: TextConverter.importToFlow not accepting a Configuration
Hello
I got a sudden error when updating my SDK to 4.1.0.14965 that is just out. The error is just that TextConverter.importToFlow is not creating the TextFlow, it is returning null, thus the rest of my code gets crashed.
I tried to isolate the error as far as I could and here is the status:
- everything worked fine till SDK 4.1.0.14883
- the TextFlow was not created when the source had an <a> tag (not sure if it happens with other tags) (it does work fine if the source has no extra tags)
- TextFlow was created fine if I didn't pass a Configuration (even with an <a> tag in the source)
So my guess is that there is some new changes to the Configuration, specially in the link format part, but I could not find anything else that would guide me to solve that. I looked in the TLF release notes, source code, Language Reference and nothing!!
Would anyone guess how to solve that?? Was there indeed any update in the TLF source in that section? Is that a bug?
This is my importToFlow use:
__tflow = TextConverter.importToFlow(__xml.toXMLString(), TextConverter.TEXT_LAYOUT_FORMAT, sprd.config);
