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

Actstream not safe for special chars in verb #4935

Closed
t-book opened this issue Sep 20, 2019 · 3 comments
Closed

Actstream not safe for special chars in verb #4935

t-book opened this issue Sep 20, 2019 · 3 comments
Assignees
Labels
minor A low priority issue which might affect only some users and /or not the main functionality
Milestone

Comments

@t-book
Copy link
Contributor

t-book commented Sep 20, 2019

Expected Behavior

Actstream can handle multilanguage verbs

Actual Behavior

An Unicode error is thrown when deleting f.e. a layer in german or greek.

Steps to Reproduce the Problem

  1. $ paver setup_data
  2. go to Django-admin
  3. change language to 'de' (or 'el') (by replacing the iso code in url)
  4. delete f.e. geonode:single_point
  5. go to Django-admin ACTSREAM/actions
  6. Note the verb 'gelöscht'
  7. try to open the action by clicking on the title

Bildschirmfoto 2019-09-20 um 14 33 15

= the problem is the beautiful character 'ö'. unfortuantely simply encoding the verb to utf8 does not solve the problem.

Specifications

  • GeoNode version: 2.10, master
  • Installation method (manual, GeoNode Docker, SPCGeoNode Docker): manual
  • Platform: Linux
  • Additional details: Might affect all install methods
@t-book t-book added the minor A low priority issue which might affect only some users and /or not the main functionality label Sep 20, 2019
@t-book t-book changed the title Actstream not save for special chars in verb Actstream not safe for special chars in verb Sep 21, 2019
@t-book
Copy link
Contributor Author

t-book commented Sep 21, 2019

Problem with lib: justquick/django-activity-stream#201 ?

@afabiani
Copy link
Member

@t-book I guess this can be closed now

@t-book
Copy link
Contributor Author

t-book commented Nov 20, 2019

tested and closed thanks @afabiani

@t-book t-book closed this as completed Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor A low priority issue which might affect only some users and /or not the main functionality
Projects
None yet
Development

No branches or pull requests

2 participants