Campo desaparecido quando usando o idioma pt_BR

Campo desaparecido quando usando o idioma pt_BR

por Ricardo Caiado -
Número de respostas: 5
Olha que curioso.

Quando seleciono o idioma preferido para "Português/Brasil" o campo "List of interests" do Perfil deixa de aparecer.

Alguém já reparou  nisso?

Estou usando a versão 3.0+.

Código gerado em português:

Interesses
<div class="fcontainer clearfix">

<div class="fitem fitem_fautocomplete"><div class="fitemtitle">Lista de interesses <span class="helptooltip"><a href="http://www.xx.xx.xx.br/help.php?component=moodle&amp;identifier=interestslist&amp;lang=pt_br" title="Ajuda com Lista de interesses" target="_blank"><img src="http://www.xx.xx.xx.br/theme/image.php?theme=pioneer&amp;component=core&amp;image=help" alt="Ajuda com Lista de interesses" class="iconhelp" /></a></span></div><div class="felement fautocomplete"></div></div>
</div>

------------------------------------

Código gerado em inglês:

Interests
<div class="fcontainer clearfix">

<div class="fitem fitem_fautocomplete"><div class="fitemtitle">List of interests <span class="helptooltip"><a href="http://www.xx.xx.xx.br/help.php?component=moodle&amp;identifier=interestslist&amp;lang=en" title="Help with List of interests" target="_blank"><img src="http://www.xx.xx.xx.br/theme/image.php?theme=pioneer&amp;component=core&amp;image=help" alt="Help with List of interests" class="iconhelp" /></a></span></div><div class="felement fautocomplete"></div></div>
</div>
Contagem das avaliações:  -
Em resposta à Ricardo Caiado

Re: Campo desaparecido quando usando o idioma pt_BR

por Gleidson Medeiros -

Ol@,

Consegui reproduzir o mesmo problema na versão Moodle 3.0 (Build: 20151116) do Moodle: http://screencast.com/t/V2ehiWuIn.

Caso você consiga encontrar a causa do problema (e quem sabe a solução), uma sugestão é criar um bug no tracker do Moodle em https://tracker.moodle.org/.

Abraços,

Gleidson
--
linkedin.com/in/gleidsonlm

Contagem das avaliações:  -
Em resposta à Ricardo Caiado

Re: Campo desaparecido quando usando o idioma pt_BR

por Eduardo Kraus -
Imagem de Plugin developers

Fui cachar o erro...

E achei...

Todos os lugares que usam as TAGS não funcionam se não for inglês. Então o erro esta no formulário e não só no perfil de usuário.

Mais não achei a solução...

Muito prazer, sou Eduardo Kraus
Professor, programador e apaixonado por Moodle
Leia meu Blog: moodle.eduardokraus.com
Assista meus vídeos: www.youtube.com/user/ProfEduardoKraus
Curta meu Facebook: www.facebook.com/ProfEduardoKraus

Contagem das avaliações:  -
Em resposta à Eduardo Kraus

Re: Campo desaparecido quando usando o idioma pt_BR

por Eduardo Kraus -
Imagem de Plugin developers

A única coisa que achei de diferente na chamada PT-BR para EN foi no console. Veja a sequencia:

Carregando EN

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-dock-loader: Dock loader initialising
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-dock-loader: Dock loader watching block with instance id: 4
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-dock-loader: Dock loader watching block with instance id: 5
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-block_navigation: Initialising navigation block tree
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-event: Global event published: FORM_ERROR
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-block_navigation: Initialising navigation block tree
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 Warning: A single_select element was renderered, but the output is not displayed on the page.
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-actionmenu: Initialising the action menu manager
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 Warning: A single_select element was renderered, but the output is not displayed on the page.
first.js:14 Bootstrap initialised
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:66+meta now triggers for atto_bold_button_bold
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:73+meta now triggers for atto_italic_button_italic
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:75+meta now triggers for atto_link_button
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:85+meta now triggers for atto_underline_button_underline
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:90+meta now triggers for atto_undo_button_undo
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:89+meta now triggers for atto_undo_button_redo

Carregando PT_BR

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-dock-loader: Dock loader initialising
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-dock-loader: Dock loader watching block with instance id: 4
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-dock-loader: Dock loader watching block with instance id: 5
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-block_navigation: Initialising navigation block tree
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-event: Global event published: FORM_ERROR
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-block_navigation: Initialising navigation block tree
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 Warning: A single_select element was renderered, but the output is not displayed on the page.
first.js:14 Bootstrap initialised
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-actionmenu: Initialising the action menu manager
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 Warning: A single_select element was renderered, but the output is not displayed on the page.
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:66+meta now triggers for atto_bold_button_bold
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:73+meta now triggers for atto_italic_button_italic
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:75+meta now triggers for atto_link_button
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:85+meta now triggers for atto_underline_button_underline
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:90+meta now triggers for atto_undo_button_undo
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-editor_atto-editor-plugin: Atto shortcut registered: down:89+meta now triggers for atto_undo_button_redo

O que isso tem a ver?

O first.js é o arquivo que traz o javascript do plug-in auto-complete e em PT-BR ele é chamado antes das seguintes chamadas:

yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 moodle-core-actionmenu: Initialising the action menu manager
yui_combo.php?rollup/3.17.2/yui-moodlesimple.js&rollup/1451294349/mcore-debug.js:5828 Warning: A single_select element was renderered, but the output is not displayed on the page.

Pode não ser isso, mais é estranho...

Muito prazer, sou Eduardo Kraus
Professor, programador e apaixonado por Moodle
Leia meu Blog: moodle.eduardokraus.com
Assista meus vídeos: www.youtube.com/user/ProfEduardoKraus
Curta meu Facebook: www.facebook.com/ProfEduardoKraus

Contagem das avaliações:  -
Em resposta à Eduardo Kraus

Re: Campo desaparecido quando usando o idioma pt_BR

por Eduardo Kraus -
Imagem de Plugin developers

Resolvi então verificar se esta ordem errada vinha do carregamento, mais não...

Carrega arquivos iguais. com tamanhos iguais, em ordem igual:

PT_BR

EN

Muito prazer, sou Eduardo Kraus
Professor, programador e apaixonado por Moodle
Leia meu Blog: moodle.eduardokraus.com
Assista meus vídeos: www.youtube.com/user/ProfEduardoKraus
Curta meu Facebook: www.facebook.com/ProfEduardoKraus

Contagem das avaliações:  -