Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoTimers] autotimer.xml corruption when saving AutoTimer filtered by bouquet with & or < #520

Open
wedebe opened this issue Apr 17, 2022 · 2 comments

Comments

@wedebe
Copy link
Contributor

wedebe commented Apr 17, 2022

Describe the bug
autotimer.xml file becomes corrupt when an AutoTimer filtered by bouquet with a & or < is saved

To Reproduce

  • (create a bouquet with an & in the name)
  • create an autotimer filtered by the &/<-named bouquet
  • save
    ...
  • receiver shows the error screenshotted below

Expected behavior
AutoTimer should save normally, encoding & as &amp;, < as &lt;

Screenshots

Image (please complete the following information):

  • OpenATV 7.0
  • AutoTimers 4.3.2

Desktop (please complete the following information):

  • N/A

Additional context
Furthermore, AutoTimerAddXMLAutoTimerResource returns an AutoTimer was added successfully response

@MrServo
Copy link
Contributor

MrServo commented Apr 19, 2022

Hi wedebe,

I can't reproduce your error using my new bouquet 'Test&<>Test' (added via WebIF)

grafik

Questions:

  • Have you added your bouquet with WebIF or otherwise (in case, how?)
  • Have you done something special when addind the Autotimer?

@jbleyel
Copy link
Contributor

jbleyel commented Apr 19, 2022

ATV 7.0

 <timer name="1111" match="1111" enabled="yes" id="137">
  <bouquet>1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.t_____tv_.tv" ORDER BY bouquet</bouquet> <!-- t&lt;&gt;&amp; (TV) -->
 </timer>

more userbouquet.t_____tv_.tv
#NAME t<>& (TV)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants