Skip to content

Commit

Permalink
Added tests for PR 4391
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jan 3, 2025
1 parent b03f2b6 commit b335666
Show file tree
Hide file tree
Showing 4 changed files with 582 additions and 0 deletions.
88 changes: 88 additions & 0 deletions prs/4391/DansTonChat_1_current.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<!DOCTYPE html>
<html lang="en">
<head><base href="https://rss-bridge.org/bridge01/" target="_blank">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/ >
<meta name="description" content="RSS-Bridge" />
<title>DansTonChat Bridge</title>
<link href="static/style.css?2023-03-24" rel="stylesheet">
<link rel="icon" type="image/png" href="static/favicon.png">


<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Atom"
title="Atom"
rel="alternate"
type="application/atom+xml"
>

<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Json"
title="Json"
rel="alternate"
type="application/json"
>

<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Mrss"
title="Mrss"
rel="alternate"
type="application/rss+xml"
>

<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Plaintext"
title="Plaintext"
rel="alternate"
type="text/plain"
>

<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Sfeed"
title="Sfeed"
rel="alternate"
type="text/plain"
>

<meta name="robots" content="noindex, follow">
</head>

<body>
<div class="container">

<h1 class="pagetitle">
<a href="https://danstonchat.com/" target="_blank">DansTonChat Bridge</a>
</h1>

<div class="buttons">
<a href="./#bridge-DansTonChatBridge">
<button class="backbutton">← back to rss-bridge</button>
</a>

<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Atom">
<button class="rss-feed">
Atom </button>
</a>
<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Json">
<button class="rss-feed">
Json </button>
</a>
<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Mrss">
<button class="rss-feed">
Mrss </button>
</a>
<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Plaintext">
<button class="rss-feed">
Plaintext </button>
</a>
<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Sfeed">
<button class="rss-feed">
Sfeed </button>
</a>

</div>


</div>
</body>
</html>
88 changes: 88 additions & 0 deletions prs/4391/DansTonChat_1_pr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<!DOCTYPE html>
<html lang="en">
<head><base href="https://rss-bridge.org/bridge01/" target="_blank">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/ >
<meta name="description" content="RSS-Bridge" />
<title>DansTonChat Bridge</title>
<link href="static/style.css?2023-03-24" rel="stylesheet">
<link rel="icon" type="image/png" href="static/favicon.png">


<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Atom"
title="Atom"
rel="alternate"
type="application/atom+xml"
>

<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Json"
title="Json"
rel="alternate"
type="application/json"
>

<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Mrss"
title="Mrss"
rel="alternate"
type="application/rss+xml"
>

<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Plaintext"
title="Plaintext"
rel="alternate"
type="text/plain"
>

<link
href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Sfeed"
title="Sfeed"
rel="alternate"
type="text/plain"
>

<meta name="robots" content="noindex, follow">
</head>

<body>
<div class="container">

<h1 class="pagetitle">
<a href="https://danstonchat.com/" target="_blank">DansTonChat Bridge</a>
</h1>

<div class="buttons">
<a href="./#bridge-DansTonChatBridge">
<button class="backbutton">← back to rss-bridge</button>
</a>

<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Atom">
<button class="rss-feed">
Atom </button>
</a>
<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Json">
<button class="rss-feed">
Json </button>
</a>
<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Mrss">
<button class="rss-feed">
Mrss </button>
</a>
<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Plaintext">
<button class="rss-feed">
Plaintext </button>
</a>
<a href="?action=display&amp;bridge=DansTonChatBridge&amp;format=Sfeed">
<button class="rss-feed">
Sfeed </button>
</a>

</div>


</div>
</body>
</html>
220 changes: 220 additions & 0 deletions prs/4391/LegifranceJO_1_current.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
<!DOCTYPE html>
<html lang="en">
<head><base href="https://rss-bridge.org/bridge01/" target="_blank">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/ >
<meta name="description" content="RSS-Bridge" />
<title>Journal Officiel de la République Française</title>
<link href="static/style.css?2023-03-24" rel="stylesheet">
<link rel="icon" type="image/png" href="static/favicon.png">


<link
href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Atom"
title="Atom"
rel="alternate"
type="application/atom+xml"
>

<link
href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Json"
title="Json"
rel="alternate"
type="application/json"
>

<link
href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Mrss"
title="Mrss"
rel="alternate"
type="application/rss+xml"
>

<link
href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Plaintext"
title="Plaintext"
rel="alternate"
type="text/plain"
>

<link
href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Sfeed"
title="Sfeed"
rel="alternate"
type="text/plain"
>

<meta name="robots" content="noindex, follow">
</head>

<body>
<div class="container">

<h1 class="pagetitle">
<a href="https://www.legifrance.gouv.fr/affichJO.do" target="_blank">Journal Officiel de la République Française</a>
</h1>

<div class="buttons">
<a href="./#bridge-LegifranceJOBridge">
<button class="backbutton">← back to rss-bridge</button>
</a>

<a href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Atom">
<button class="rss-feed">
Atom </button>
</a>
<a href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Json">
<button class="rss-feed">
Json </button>
</a>
<a href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Mrss">
<button class="rss-feed">
Mrss </button>
</a>
<a href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Plaintext">
<button class="rss-feed">
Plaintext </button>
</a>
<a href="?action=display&amp;bridge=LegifranceJOBridge&amp;format=Sfeed">
<button class="rss-feed">
Sfeed </button>
</a>

</div>

<section class="feeditem">
<h2>
<a
class="itemtitle"
href="http://localhost:3000/?action=display&amp;bridge=LegifranceJOBridge&amp;format=Html"
>Bridge returned error 0! (20091)</a>
</h2>

<time datetime="2025-01-03 06:22:58">
2025-01-03 06:22:58 </time>
<p></p>


<!-- Intentionally not escaping for html context -->

<div class="error">



<h2>Details</h2>

<div style="margin-bottom: 15px">
<div class="error-type">
<strong>Type:</strong> ErrorException </div>

<div>
<strong>Code:</strong> 0 </div>

<div class="error-message">
<strong>Message:</strong> Attempt to read property &quot;plaintext&quot; on null </div>

<div>
<strong>File:</strong> bridges/LegifranceJOBridge.php </div>

<div>
<strong>Line:</strong> 54 </div>
</div>

<h2>Trace</h2>

<code>
#0 index.php(68): RssBridge-&gt;main() </code>
<br>
<code>
#1 lib/RssBridge.php(39): RssBridge-&gt;{closure}() </code>
<br>
<code>
#2 lib/RssBridge.php(37): CacheMiddleware-&gt;__invoke() </code>
<br>
<code>
#3 middlewares/CacheMiddleware.php(44): RssBridge-&gt;{closure}() </code>
<br>
<code>
#4 lib/RssBridge.php(37): ExceptionMiddleware-&gt;__invoke() </code>
<br>
<code>
#5 middlewares/ExceptionMiddleware.php(17): RssBridge-&gt;{closure}() </code>
<br>
<code>
#6 lib/RssBridge.php(37): SecurityMiddleware-&gt;__invoke() </code>
<br>
<code>
#7 middlewares/SecurityMiddleware.php(19): RssBridge-&gt;{closure}() </code>
<br>
<code>
#8 lib/RssBridge.php(37): MaintenanceMiddleware-&gt;__invoke() </code>
<br>
<code>
#9 middlewares/MaintenanceMiddleware.php(10): RssBridge-&gt;{closure}() </code>
<br>
<code>
#10 lib/RssBridge.php(37): BasicAuthMiddleware-&gt;__invoke() </code>
<br>
<code>
#11 middlewares/BasicAuthMiddleware.php(13): RssBridge-&gt;{closure}() </code>
<br>
<code>
#12 lib/RssBridge.php(37): TokenAuthenticationMiddleware-&gt;__invoke() </code>
<br>
<code>
#13 middlewares/TokenAuthenticationMiddleware.php(10): RssBridge-&gt;{closure}() </code>
<br>
<code>
#14 lib/RssBridge.php(34): DisplayAction-&gt;__invoke() </code>
<br>
<code>
#15 actions/DisplayAction.php(54): DisplayAction-&gt;createResponse() </code>
<br>
<code>
#16 actions/DisplayAction.php(89): LegifranceJOBridge-&gt;collectData() </code>
<br>
<code>
#17 bridges/LegifranceJOBridge.php(54): {closure}() </code>
<br>
<code>
#18 bridges/LegifranceJOBridge.php(54) </code>
<br>

<br>

<h2>Context</h2>

<div>
<strong>Query:</strong> action=display&amp;bridge=LegifranceJOBridge&amp;format=Html </div>

<div>
<strong>Version:</strong> 2025-01-02 (git.master.d36cd0a) </div>

<div>
<strong>OS:</strong> Linux </div>

<div>
<strong>PHP:</strong> 8.2.26 </div>

<br>

<a href="/">Go back</a>
</div>


<a href="https://github.com/RSS-Bridge/rss-bridge/issues?q=is%3Aissue+is%3Aopen+Journal+Officiel+de+la+R%C3%A9publique+Fran%C3%A7aise" title="Opens GitHub to search for similar issues">
<button>Find similar bugs</button>
</a>

<a href="https://github.com/RSS-Bridge/rss-bridge/issues/new?title=Journal+Officiel+de+la+R%C3%A9publique+Fran%C3%A7aise+failed+with%3A+Attempt+to+read+property+%22plaintext%22+on+null&body=%60%60%60%0AErrorException%3A+Attempt+to+read+property+%22plaintext%22+on+null+in+bridges%2FLegifranceJOBridge.php+line+54%0A%0Aindex.php%2868%29%3A+RssBridge-%3Emain%28%29%0Alib%2FRssBridge.php%2839%29%3A+RssBridge-%3E%7Bclosure%7D%28%29%0Alib%2FRssBridge.php%2837%29%3A+CacheMiddleware-%3E__invoke%28%29%0Amiddlewares%2FCacheMiddleware.php%2844%29%3A+RssBridge-%3E%7Bclosure%7D%28%29%0Alib%2FRssBridge.php%2837%29%3A+ExceptionMiddleware-%3E__invoke%28%29%0Amiddlewares%2FExceptionMiddleware.php%2817%29%3A+RssBridge-%3E%7Bclosure%7D%28%29%0Alib%2FRssBridge.php%2837%29%3A+SecurityMiddleware-%3E__invoke%28%29%0Amiddlewares%2FSecurityMiddleware.php%2819%29%3A+RssBridge-%3E%7Bclosure%7D%28%29%0Alib%2FRssBridge.php%2837%29%3A+MaintenanceMiddleware-%3E__invoke%28%29%0Amiddlewares%2FMaintenanceMiddleware.php%2810%29%3A+RssBridge-%3E%7Bclosure%7D%28%29%0Alib%2FRssBridge.php%2837%29%3A+BasicAuthMiddleware-%3E__invoke%28%29%0Amiddlewares%2FBasicAuthMiddleware.php%2813%29%3A+RssBridge-%3E%7Bclosure%7D%28%29%0Alib%2FRssBridge.php%2837%29%3A+TokenAuthenticationMiddleware-%3E__invoke%28%29%0Amiddlewares%2FTokenAuthenticationMiddleware.php%2810%29%3A+RssBridge-%3E%7Bclosure%7D%28%29%0Alib%2FRssBridge.php%2834%29%3A+DisplayAction-%3E__invoke%28%29%0Aactions%2FDisplayAction.php%2854%29%3A+DisplayAction-%3EcreateResponse%28%29%0Aactions%2FDisplayAction.php%2889%29%3A+LegifranceJOBridge-%3EcollectData%28%29%0Abridges%2FLegifranceJOBridge.php%2854%29%3A+%7Bclosure%7D%28%29%0Abridges%2FLegifranceJOBridge.php%2854%29%0A%0AQuery+string%3A+action%3Ddisplay%26bridge%3DLegifranceJOBridge%26format%3DHtml%0AVersion%3A+2025-01-02+%28git.master.d36cd0a%29%0AOs%3A+Linux%0APHP+version%3A+8.2.26%0A%60%60%60%0AMaintainer%3A+%40Pierre+Mazi%C3%A8re&labels=Bridge-Broken&assignee=P" title="After clicking this button you can review the issue before submitting it">
<button>Create GitHub Issue</button>
</a>

<p class="maintainer">
Pierre Mazière</p>

</section>

</div>
</body>
</html>
Loading

0 comments on commit b335666

Please sign in to comment.