Bug #4324

Repository names mixed with Authority record names in drop-down, selection of Repository name results in 404 Error.

Added by Jessica Bushey about 8 years ago. Updated over 7 years ago.

Status:VerifiedStart date:
Priority:CriticalDue date:
Assignee:Jesús García Crespo% Done:

0%

Category:-
Target version:Release 1.3
Google Code Legacy ID:atom-2376 Tested version:
Sponsored: Requires documentation:

Description

To reproduce this error: ========================
1)create new archival description (RAD template)
2)select add new actor record
3)authority record auto complete provides both repository names and authority record names
4)select repository name
5)click create
6)in view archival description select repository hyperlink (which is now the creator of the archival description)

Resulting error: ================
404 error

404 | Not Found | sfError404Exception
This request has been forwarded to a 404 error page by the action "sfIsaarPlugin/index".
stack trace

at ()
in SF_ROOT_DIR/vendor/symfony/lib/action/sfAction.class.php line 74 ...
*/
public function forward404($message = null) {
throw new sfError404Exception($this->get404Message($message));
}
/**
at sfAction->forward404()
in SF_ROOT_DIR/apps/qubit/modules/actor/actions/indexAction.class.php line 29 ...
at ActorIndexAction->execute(object('sfWebRequest'))
in SF_ROOT_DIR/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/actions/indexAction.class.php line 33 ...
at sfIsaarPluginIndexAction->execute(object('sfWebRequest'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 92 ...
at sfExecutionFilter->executeAction(object('sfIsaarPluginIndexAction'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 78 ...
at sfExecutionFilter->handleAction(object('sfFilterChain'), object('sfIsaarPluginIndexAction'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfExecutionFilter.class.php line 42 ...
at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitMeta.class.php line 41 ...
at QubitMeta->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitSslRequirementFilter.class.php line 35 ...
at QubitSslRequirementFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitLimitIp.class.php line 39 ...
at QubitLimitIpFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitSettingsFilter.class.php line 31 ...
at QubitSettingsFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfRenderingFilter.class.php line 33 ...
at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/plugins/sfHistoryPlugin/lib/sfHistoryPluginFilter.class.php line 18 ...
at sfHistoryPluginFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitTransactionFilter.class.php line 40 ...
at QubitTransactionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/vendor/symfony/lib/filter/sfFilterChain.class.php line 53 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/vendor/symfony/lib/controller/sfController.class.php line 238 ...
at sfController->forward('sfIsaarPlugin', 'index')
in SF_ROOT_DIR/vendor/symfony/lib/controller/sfFrontWebController.class.php line 48 ...
at sfFrontWebController->dispatch()
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 170 ...
at sfContext->dispatch()
in SF_ROOT_DIR/qubit_dev.php line 12 ...

symfony settings ...
request ...
response ...
user ...
global vars ...

symfony v.1.4.19-DEV - php 5.3.2-1ubuntu4.14
for help resolving this issue, please visit http://www.symfony-project.org/ .
Debug toolbar

1.4.19-DEV
Config config
Log logs
Memory 6144.0 KB
Time 103 ms
SQL queries 5
Close

Expected result: ================
Repositories should not be available in Authority record drop-down

[g] Legacy categories: Information object, Actor, Repository

History

#1 Updated by Jesús García Crespo almost 8 years ago

  • Status changed from New to QA/Review

Fixed in r11941.

#2 Updated by Jessica Bushey almost 8 years ago

  • Status changed from QA/Review to Feedback

Followed steps and had same result. Repositories are available in Authority record drop-down. Selection of the hyperlinked repository name as creator results in 404 error.

#3 Updated by Jesús García Crespo almost 8 years ago

  • Status changed from Feedback to In progress

Ok, reopened. I can't find an easy solution, the two SWORD routes in routing.yml should be moved after the /:slug route but that's not easy.

#4 Updated by Jesús García Crespo almost 8 years ago

Reverted r11941.

#5 Updated by Jesús García Crespo almost 8 years ago

[g] New owner: Jesús García Crespo

#6 Updated by David Juhasz almost 8 years ago

  • Priority changed from High to Critical

[g] Labels added: Priority-Critical
[g] Labels removed: Priority-High

#7 Updated by David Juhasz almost 8 years ago

We need a resolution for this for Release 1.3. If we can't come up with a better solution let's remove the repository names from the drop-down.

#8 Updated by Jesús García Crespo almost 8 years ago

  • Status changed from In progress to Verified

Fixed in r12089.

#9 Updated by Jesús García Crespo almost 8 years ago

  • Status changed from Verified to QA/Review

#10 Updated by Jessica Bushey almost 8 years ago

  • Status changed from QA/Review to Feedback

I repeated steps and had same results.
The repository names are being added to the drop-down for creator names in the "add name" dialog. Once the repository name is added to the archival record as the creator and name access point, selection of either of these hyperlinks results in a 404 error.

If there are no repository names in the system, no repository names are found in the drop-down. BUT every repository name added into the system using the correct repository data field gets added to the drop-down and made available through the "add new" creator dialog.

#11 Updated by Jessica Bushey almost 8 years ago

Question:

If the correct behaviour for ISAD plugin is:
- PLUGIN isad
- FIELD Creators (showing: actors/repositories)
URL = /;actor/autocomplete?query=

Should we assume that the correct behaviour for RAD plugin is:
- PLUGIN rad
- Dates of Creation Area
-FIELD Actor name (showing: actors/repositories)

If so... then repository names appearing in the actor name field is correct, but unfortunately it leads to an error in procedure (eg. picking a repository name by mistake as an actor name) which then results in a 404 error if the hyperlink to the repository is selected. It also results in the repository being listed as a creator name access point. However, the repository names are NOT being provided in the autocomplete for name access points.

#12 Updated by Jesús García Crespo almost 8 years ago

As of r12100, links should work. Clear cache before.

#13 Updated by Jesús García Crespo almost 8 years ago

  • Status changed from Feedback to QA/Review

#14 Updated by Jessica Bushey almost 8 years ago

  • Status changed from QA/Review to Feedback

Select hyperlink of repository in Name of Creator field = 404 error

Select hyperlink of repository in Name Access field = links to repository record

#15 Updated by Jesús García Crespo almost 8 years ago

  • Status changed from Feedback to QA/Review

Fixed in r12107.

#16 Updated by Jessica Bushey almost 8 years ago

  • Status changed from QA/Review to Verified

Both hyperlinks take you to the repository record.

#17 Updated by Jessica Bushey almost 8 years ago

Both hyperlinks take you to the repository record.

Also available in: Atom PDF