https://sourceforge.net/p/allura/git/forks/ is currently erroring with:
File '/var/local/allura/Allura/allura/controllers/repository.py', line 94 in forks repo_path_parts = f.url().strip('/').split('/') File '/var/local/allura/Allura/allura/model/repository.py', line 436 in url return self.app_config.url() AttributeError: 'NoneType' object has no attribute 'url'
Created #412 [#6532] Error on /p/allura/git/forks (1cp)
Related
Tickets:
#6532We can't reproduce this bug locally and at sourceforge it seems to be only at allura project (e.g. https://sourceforge.net/p/npppluginmgr/code/forks/ works fine).
Probably the reason is that one of the fork's Repository is missing app_config.
Maybe we should just ignore such forks?
Yeah, checking the data for it, it looks like there is one that has an app_config_id value that doesn't exist any more. I'm not sure exactly how it happened - it looks like it used to be a tool on a user-project, and the audit log for that user-project shows the tool was deleted. I can't duplicate it either though.
Your suggestion to just ignore those sounds good.
Closed #412 Error on /p/allura/git/forks, branch 42cc_6532