Rss-bridge: [BandcampDailyBridge] Default value for content input always returns when used in Franchises context

Created on 5 Apr 2020  路  1Comment  路  Source: RSS-Bridge/rss-bridge

I know it's strange to be opening a bug report for my own bridge but I've run in to a odd bug which I can't seem to fix.

Describe the bug
When viewing any feed from the 'Franchises' context, the default value for content is always returned by getInput()

Eg: ?action=display&bridge=BandcampDaily&context=Franchises&content=album-of-the-day&format=Html will return the lists feed (the default) not the Album of the day feed.

To Reproduce
Steps to reproduce the behavior:

  1. Add bridge (#1485)
  2. Select any of the options other than 'lists' from the content drop down for Franchises.
  3. View feed as HTML
  4. The default 'lists' feed will be displayed regardless of the given content input value.

Expected behavior
The selected content feed should be returned.

Screenshots
bug

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Firefox & Chrome
  • Version: git.master.366d2d6

    • PHP version 7.4.4

Bug-Report

>All comments

Moving the 'Franchises' array to the end of the PARAMETERS array seems to fix the issue. 馃え
https://gist.github.com/VerifiedJoseph/f406256541d84ba2122070d4cc16cd21

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cmsitee picture cmsitee  路  7Comments

OmkAR2013 picture OmkAR2013  路  8Comments

teromene picture teromene  路  11Comments

TwizzyDizzy picture TwizzyDizzy  路  4Comments

chankalan picture chankalan  路  8Comments