#163015: "Unable to create a tutorial due to missing ID attributes in the HTML"
Про що цей звіт?
Що трапилося? Будь ласка, виберіть нижче
Що трапилося? Будь ласка, виберіть нижче
Будь ласка, перевірте, чи вже є звіт на цю тему
Якщо це так, будь ласка, ПРОГОЛОСУЙТЕ за цей звіт. Звіти з найбільшою кількістю голосів розглядатимуть У ПЕРШУ ЧЕРГУ!
| # | Status | Votes | Game | Type | Title | Last update |
|---|
Детальний опис
-
• Будь ласка, скопіюйте/вставте повідомлення про помилку, якщо ви бачите якесь на своєму екрані.
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." -
• Будь ласка, опишіть, що ви намагалися зробити, що зробили, та що трапилось
• Який у вас браузер?
Google Chrome v134
-
• Будь ласка, скопіюйте/вставте текст відображений англійською замість вашої мови. If you have a screenshot of this bug (good practice), you can use a picture hosting service of your choice (snipboard.io for example) to upload it and copy/paste the link here. Чи цей текст доступний у системі перекладів? Якщо так, то чи перекладали його понад 24 години тому?
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." • Який у вас браузер?
Google Chrome v134
-
• Будь ласка, поясніть вашу пропозицію точно й лаконічно, щоб було якомога легше зрозуміти, що ви маєте на увазі.
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." • Який у вас браузер?
Google Chrome v134
-
• Що було на екрані до того, як ваша гра заблокувалася (Порожній екран? Частина ігрового інтерфейсу? Повідомлення про помилку?)
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." • Який у вас браузер?
Google Chrome v134
-
• Які саме правила були порушені адаптацією гри на 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." -
• Чи видні порушення правил на повторі гри? Якщо так, на якому кроці?
• Який у вас браузер?
Google Chrome v134
-
• Яку ігрову дію ви намагалися виконати?
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." -
• Що ви намагались зробити, щоб активувати цю ігрову дію?
-
• Що сталося, коли Ви намагалися виконати цю дію (текст помилки, статус на панелі повідомлень, ...)?
• Який у вас браузер?
Google Chrome v134
-
• На якому етапі гри виникла проблема (яка була на той момент вказівка в грі)?
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." -
• Що стається, коли ви намагаєтесь зробити ігрову дію (повідомлення про помилку, повідомлення на панелі статусу гри і т.п.)?
• Який у вас браузер?
Google Chrome v134
-
• Будь ласка, опишіть візуальну помилку. If you have a screenshot of this bug (good practice), you can use a picture hosting service of your choice (snipboard.io for example) to upload it and copy/paste the link here.
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." • Який у вас браузер?
Google Chrome v134
-
• Будь ласка, скопіюйте/вставте текст відображений англійською замість вашої мови. If you have a screenshot of this bug (good practice), you can use a picture hosting service of your choice (snipboard.io for example) to upload it and copy/paste the link here. Чи цей текст доступний у системі перекладів? Якщо так, то чи перекладали його понад 24 години тому?
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." • Який у вас браузер?
Google Chrome v134
-
• Будь ласка, поясніть вашу пропозицію точно й лаконічно, щоб було якомога легше зрозуміти, що ви маєте на увазі.
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." • Який у вас браузер?
Google Chrome v134
Історія звітів
<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.
Додайте що-небудь до цього відгуку
- ID іншого столу / ходу
- F5 вирішило проблему?
- Чи виникає проблема періодично? Щоразу? Випадково?
- If you have a screenshot of this bug (good practice), you can use a picture hosting service of your choice (snipboard.io for example) to upload it and copy/paste the link here.
