Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category names are not automatically truncated if they are too long #149

Open
istride opened this issue Dec 11, 2024 · 0 comments
Open

Category names are not automatically truncated if they are too long #149

istride opened this issue Dec 11, 2024 · 0 comments

Comments

@istride
Copy link
Contributor

istride commented Dec 11, 2024

If a RapidPro category name is longer than about 115 characters it causes problems in the flow it belongs to - see issue #93. The solution to issue #93 is to check the length of category names and stop processing with an error if the threshold of 115 characters is exceeded.

It is left to the flow template author or the content author to make sure that category names are not too long. This is inconvenient because it means every author should be made aware of this limitation and take steps to avoid it.

As the limitation is an implementation detail of RapidPro - which may vary between versions - it would be better to let the toolkit decide whether a category name needs to truncated, while logging a warning that such an action has been taken. This would alleviate the burden of considering this detail of RapidPro from content authors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant