question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Content from config fragment inserted two times

See original GitHub issue

Is this a BUG REPORT or FEATURE REQUEST?: bug (most likely)

What happened: The html blocks of a config fragment is inserted two times.

What you expected to happen: Only one insertion.

How to reproduce it (as minimally and precisely as possible): One example where it happened is the official documentation. Take a look at the html code of https://about.okkur.org/syna/fragments/config/ You’ll find the following code block:

      <link rel='stylesheet' href='https://bootswatch.com/4/united/bootstrap.min.css'>
        <script>
    document.getElementsByTagName("body")[0].style.cursor = "url('http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur'), auto";
  </script>
  
      <link rel='stylesheet' href='https://bootswatch.com/4/united/bootstrap.min.css'>
        <script>
    document.getElementsByTagName("body")[0].style.cursor = "url('http://wiki-devel.sugarlabs.org/images/e/e2/Arrow.cur'), auto";
  </script>

Environment:

  • Syna Theme version: v0.16.2, v0.17.0, master revision 045b938589a6
  • Hugo version: Hugo Static Site Generator v0.70.0/extended linux/amd64 BuildDate: unknown from ArchLinux

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
stp-ipcommented, May 20, 2020

This does indeed look like a bug. Also hey fellow Archer 😉

Thanks for reporting. Always happy for PRs as well 😉

0reactions
c-mauderercommented, May 22, 2020

Thanks for the offer. If I find a bug again where I think that I might can fix it, I’ll ask or create a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android fragment created twice on orientation change
i have placed the logs as can be seen in the code above and here is the output when i start the app...
Read more >
Communicating with fragments - Android Developers
The Fragment library provides two options for communication: a shared ViewModel and the Fragment Result API. The recommended option depends on ...
Read more >
Creating and Using Fragments | CodePath Android Cliffnotes
Fragments are content controllers and contain most views, layouts, and event ... a FrameLayout ) to your activity where the fragment is inserted...
Read more >
Content Fragment Models (Assets - Experience League - Adobe
Learn how Content Fragment Models serve as a foundation for your headless content in AEM and how to create Content Fragments with structured ......
Read more >
Dynamic Layouts using the Fragment Manager –
It includes two fragments that can be renders only one at at time in portrait mode, ... of fragments are displayed, based on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found