OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix: #35132 Activity broken for wiki pages with slashes in title (#8823)
Wieland Lindenthalc919da055004
diff --git a/app/models/activities/wiki_content_activity_provider.rb b/app/models/activities/wiki_content_activity_provider.rbindex 01f51877372..2c93b6226f8 100644--- a/app/models/activities/wiki_content_activity_provider.rb+++ b/app/models/activities/wiki_content_activity_provider.rb@@ -77,6 +77,6 @@ class Activities::WikiContentActivityProvider < Activities::BaseActivityProviderenddef url_helper_parameter(event)- [event['project_id'], event['wiki_title'], { version: event['version'] }]+ [event['project_id'], event['wiki_title'].to_url, { version: event['version'] }]endenddiff --git a/spec/features/activities/wiki_activity_spec.rb b/spec/features/activities/wiki_activity_spec.rbindex f954432eac2..eaf9ec92025 100644--- a/spec/features/activities/wiki_activity_spec.rb+++ b/spec/features/activities/wiki_activity_spec.rb@@ -78,7 +78,7 @@ feature 'Wiki activities' doclick_link('Wiki edit: My page (#2)')expect(page)- .to have_current_path(project_wiki_path(project.id, 'My page', version: 2))+ .to have_current_path(project_wiki_path(project.id, 'my-page', version: 2))# disable the wiki module