Closed (fixed)
Project:
Translation Management Tool
Version:
8.x-1.x-dev
Component:
Translator: File
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2015 at 07:17 UTC
Updated:
12 Aug 2015 at 21:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sasanikolic commentedComment #2
sasanikolic commentedComment #3
giancarlosotelo commentedReturned array from
\Drupal::service('stream_wrapper_manager')->getWrappers()doesn't have a field description. So I am getting the descriptions from\Drupal::service('stream_wrapper_manager')->getDescriptionsand also using the interfaceStreamWrapperInterfaceto get the constant.Comment #4
sasanikolic commentedSeems ok to me.
Comment #5
sasanikolic commentedReverting back what I just said, tested it and this is the error I get now:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in Drupal\Component\Utility\SafeMarkup::checkPlain() (line 250 of core/lib/Drupal/Component/Utility/SafeMarkup.php).Comment #6
juanse254 commentedSeems to be working for me, please add test coverage.
Comment #7
giancarlosotelo commentedAdded test and changes in the schema for the test works well.
Comment #8
juanse254 commentedgood to go in my opinion.
Comment #9
juanse254 commentedComment #10
berdirLooks good, committed.