diff options
author | James Lopez <james@jameslopez.es> | 2016-09-23 17:52:39 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-09-26 10:49:05 +0300 |
commit | a9f1e972ec12bd628e8fc85388c6ba598902ae25 (patch) | |
tree | 18589991a13efd3203baa13e3e807d38db3bbf0e /app | |
parent | 1aca3670b0e749ea3a64849a3033c83f0c23ba31 (diff) |
Fixes issue with rails reserved keyword type exporting/importing services. Also fixed CustomIssueTrackerService title setter and added relevant specs.
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project_services/custom_issue_tracker_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/project_services/custom_issue_tracker_service.rb b/app/models/project_services/custom_issue_tracker_service.rb index 63a5ed14484..d9fba3d4a41 100644 --- a/app/models/project_services/custom_issue_tracker_service.rb +++ b/app/models/project_services/custom_issue_tracker_service.rb @@ -9,6 +9,10 @@ class CustomIssueTrackerService < IssueTrackerService end end + def title=(value) + self.properties['title'] = value if self.properties + end + def description if self.properties && self.properties['description'].present? self.properties['description'] |