#163015: "Unable to create a tutorial due to missing ID attributes in the HTML"
Sobre o que é este relatório?
O que aconteceu ? Por favor escolha abaixo
O que aconteceu ? Por favor escolha abaixo
Por favor, cheque se já há um report com o mesmo assunto
Se sim, por favor, VOTE para este report. Reports com mais votos recebem PRIORIDADE!
# | Status | Votes | Game | Type | Title | Last update |
---|
Descrição detalhada
-
• Por favor copie e cole a mensagem de erro que aparece na tela, se possível.
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." -
• Por favor explique o que queria fazer, o que fez e o que aconteceu
• Qual navegador você está usando?
Google Chrome v134
-
• Por favor copie/cole o texto em inglês em vez de sua língua. Se tiver uma captura de ecrã/tela deste problema (boa prática), pode usar Imgur.com para carregá-la e copiar/colar o endereço aqui.
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." -
• Este texto está disponível no sistema de traduções? Se sim, foi traduzido há mais de 24 horas?
• Qual navegador você está usando?
Google Chrome v134
-
• Por favor, explique sua sugestão precisamente e de forma concisa, de forma que fique o mais fácil possível, entender o que você quer dizer.
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." • Qual navegador você está usando?
Google Chrome v134
-
• O que estava presente na tela quando você estava bloqueado (tela em branco? Parte da imagem do jogo? Mensagem de erro?)
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." • Qual navegador você está usando?
Google Chrome v134
-
• Que parte das regras não foi respeitada pela adaptação do BGA?
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." -
• A violação de regras está visível na revisão do jogo? Se sim, em que número de jogada?
• Qual navegador você está usando?
Google Chrome v134
-
• Qual era a ação de jogo que queria fazer?
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." -
• O que você tentou fazer para provocar esta ação de jogo?
-
• O que aconteceu quando tentou fazer isto(mensagem de erro, mensagem na barra de estado do jogo)?
• Qual navegador você está usando?
Google Chrome v134
-
• Em que passo do jogo ocorre o problema(qual era a instrução corrente do jogo)?
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." -
• O que aconteceu quando tentou fazer essa ação de jogo (mensagem de erro, mensagem na barra de estado do jogo)?
• Qual navegador você está usando?
Google Chrome v134
-
• Por favor descreva o problema de visualização. Se tiver uma captura de ecrã/tela deste problema (boa prática), pode usar Imgur.com para carregá-la e copiar/colar o endereço aqui.
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." • Qual navegador você está usando?
Google Chrome v134
-
• Por favor copie/cole o texto em inglês em vez de sua língua. Se tiver uma captura de ecrã/tela deste problema (boa prática), pode usar Imgur.com para carregá-la e copiar/colar o endereço aqui.
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." -
• Este texto está disponível no sistema de traduções? Se sim, foi traduzido há mais de 24 horas?
• Qual navegador você está usando?
Google Chrome v134
-
• Por favor, explique sua sugestão precisamente e de forma concisa, de forma que fique o mais fácil possível, entender o que você quer dizer.
Please, add ID to all elements in the game to make it compatible with BGA tutorial creator, and check for overlapping DIVs. This BGA page explains this in more detail: en.doc.boardgamearena.com/Tutorials_checklist
Specifically:
"If a player trying to create a tutorial reports you an issue about (3):
- you might have some overlapping elements preventing to access the "div" tag of an important interface element to attach tutorial content to it.
- you might have some missing "ID" on elements of the interface, preventing the tutorial author to attach elements to them." • Qual navegador você está usando?
Google Chrome v134
Histórico do relatório
<div class="um_umbrella bg-umbrella_2" style="position: relative;">
I did an experiment with Chrome dev tools, and when I manually add an ID to this div, then the tutorial works.
boardgamearena.com/archive/replay/250326-1050/?table=651495995&player=97510471&comments=88656919;
BGA explains the likely cause on this page: en.doc.boardgamearena.com/Tutorials_checklist
[Quote]
Each action of the replay should be replayable by triggering it manually (i.e. by reproducing the exact same sequence as done played originally during the game
(...) most likely reasons for the issue are:
- that you have triggered this.ajaxcall() / this.bgaPerformAction() programmatically in a notification handling function or a callback instead of only on a user interface action.
- or that there are several way to trigger the next action with different URL/arguments. You should make sure that the same game actions are triggered with the same "ajaxcall" / "bgaPerformAction" whatever the UX path used.
[/Quote]
activateCards
activatePoints
activateUmbrellas
That if() looks like this:
if (this.root.isReadOnly()) return;
Since isReadOnly() returns true in a replay, it causes those 3 functions to quit prematurely.
Removing all 3 occurrences of that if() fixes the replay.
<div class="um_arrow bg-arrow_1"></div>
<div class="um_arrow bg-arrow_2"></div>
<div class="um_arrow bg-arrow_3"></div>
<div class="um_arrow bg-arrow_4"></div>
Note that those div were already encapsulated in other div with id, like I usually do. But now you have both id
I'm aware the outer divs have IDs but the BGA tutorial interface needs the inner divs with IDs too. If it's not much trouble could you please check why your last fix wasn't applied?
I can do a workaround but it won't be as nice as if the IDs were there.
Adicione alguma coisa para este relatório
- Outro ID de mesa / ID de jogada
- Carregar em F5 resolveu o problema?
- O problema aparece várias vezes? Sempre? Imprevisivelmente?
- Se tiver uma captura de ecrã/tela deste problema (boa prática), pode usar Imgur.com para carregá-la e copiar/colar o endereço aqui.