Skip to content

Fix(AssetManager): Pass the required title to URLRow in InfoPage - #672

Open
marvin1099 wants to merge 1 commit into
StreamController:mainfrom
marvin1099:fix/assetmanager-urlrow-title
Open

marvin1099 wants to merge 1 commit into
StreamController:mainfrom
marvin1099:fix/assetmanager-urlrow-title

Conversation

@marvin1099

@marvin1099 marvin1099 commented Oct 9, 2026 •

Copy link
Copy Markdown

Fixes #670

0f43996 renamed OriginalURL → URLRow and made title a required argument. The two call sites in Store/InfoPage.py were updated, and the import in AssetManager/InfoPage.py was updated too, but the call itself was left as URLRow().

So opening an asset in the Asset Manager raises straight away:

File ".../src/windows/AssetManager/InfoPage.py", line 70, in build
    self.original_url_row = URLRow()
TypeError: URLRow.__init__() missing 1 required positional argument: 'title'

One-line fix, using the same title the old OriginalURL hardcoded:

         self.license_url_row = AttributeRow(title="URL:", attr="Error")
         self.license_group.add(self.license_url_row)
 
-        self.original_url_row = URLRow()
+        self.original_url_row = URLRow(title="Original URL:")
         self.license_group.add(self.original_url_row)

While in there: show_for_asset() fills in every other row on that page but never sets this one, so it would render "N/A" for store assets. Possibly intentional, so I've left it alone.

0f43996 renamed OriginalURL to URLRow and made title a required
argument. The call sites in Store/InfoPage.py were updated, and the
import in AssetManager/InfoPage.py was updated too, but the call was
left as URLRow() and now raises TypeError as soon as the Asset Manager
info page builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

BUG: TypeError: URLRow() missing required 'title' in AssetManager InfoPage (regression from 0f43996)

1 participant