Bug #11475

Appraisal tab

Added by Kelly Stewart over 4 years ago. Updated over 4 years ago.

Status:VerifiedStart date:08/31/2017
Priority:MediumDue date:
Assignee:Nick Wilkinson% Done:

0%

Category:-
Target version:Release 1.7.0
Google Code Legacy ID: Pull Request:
Sponsored:No Requires documentation:

Description

The analysis pane on the Appraisal tab is not functioning.

Bentley is having a similar issue with their 1.6.1 https://projects.artefactual.com/issues/10807#note-30

On augustus, test transfer is ks1

Browser console output:

appraisal_tab.js:15169 TypeError: (0 , _jquery2.default)(...).droppable is not a function
at Object.link (appraisal_tab.js:96765)
at appraisal_tab.js:1990
at invokeLinkFn (appraisal_tab.js:11070)
at nodeLinkFn (appraisal_tab.js:10459)
at compositeLinkFn (appraisal_tab.js:9699)
at publicLinkFn (appraisal_tab.js:9564)
at lazyCompilation (appraisal_tab.js:9955)
at boundTranscludeFn (appraisal_tab.js:9742)
at controllersBoundTransclude (appraisal_tab.js:10509)
at ngIfWatchAction (appraisal_tab.js:28153) "<span tree-draggable="" tree-droppable="" file-type="arrange" file-path="/arrange/{{ node.path }}" on-drop="vm.drop" ng-if="node.directory" class="ng-binding ng-scope">"
(anonymous) appraisal_tab.js:15169
appraisal_tab.js:15169 TypeError: (0 , _jquery2.default)(...).draggable is not a function
at Object.link (appraisal_tab.js:96738)
at appraisal_tab.js:1990
at invokeLinkFn (appraisal_tab.js:11070)
at nodeLinkFn (appraisal_tab.js:10459)
at compositeLinkFn (appraisal_tab.js:9699)
at publicLinkFn (appraisal_tab.js:9564)
at lazyCompilation (appraisal_tab.js:9955)
at boundTranscludeFn (appraisal_tab.js:9742)
at controllersBoundTransclude (appraisal_tab.js:10509)
at ngIfWatchAction (appraisal_tab.js:28153) "<span tree-draggable="" tree-droppable="" file-type="arrange" file-path="/arrange/{{ node.path }}" on-drop="vm.drop" ng-if="node.directory" class="ng-binding ng-scope">"
(anonymous)
appraisal_tab.js:15169
/access/archivesspace/levels/ Failed to load resource: the server responded with a status of 500 (INTERNAL SERVER ERROR)
appraisal_tab.js:15169 Possibly unhandled rejection: {"data":"\n\n\n\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n <head>\n <title>Archivematica Dashboard - </title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <link rel=\"shortcut icon\" href=\"/media/images/favicon.ico\" />\n <link href=\"/media/vendor/jquery-ui/jquery-ui.css\" rel=\"stylesheet\" type=\"text/css\" />\n <link href=\"/media/vendor/twitter-bootstrap/css/bootstrap.css\" rel=\"stylesheet\" type=\"text/css\" />\n <link href=\"/media/css/style.css\" rel=\"stylesheet\" type=\"text/css\" />\n \n <script src=\"/jsi18n/\" type=\"text/javascript\"></script>\n <script src=\"/media/vendor/jquery.js\" type=\"text/javascript\"></script>\n <script src=\"/media/vendor/twitter-bootstrap/js/bootstrap.js\" type=\"text/javascript\"></script>\n <script src=\"/media/vendor/jquery-ui/jquery-ui.js\" type=\"text/javascript\"></script>\n <script src=\"/media/vendor/jquery.idle-timer.js\" type=\"text/javascript\"></script>\n <script src=\"/media/vendor/underscore.js\" type=\"text/javascript\"></script>\n <script src=\"/media/vendor/backbone.js\" type=\"text/javascript\"></script>\n <script src=\"/media/js/status.js\" type=\"text/javascript\"></script>\n <script src=\"/media/js/misc.js\" type=\"text/javascript\"></script>\n \n \n <script type=\"text/javascript\">\n window.DashboarConfig = {\n 'currentLanguage': 'en'\n };\n </script>\n </head>\n <body id=\"page-default\">\n\n \n\n <div class=\"topbar\">\n <div class=\"topbar-inner\">\n <div class=\"container-fluid\">\n\n <a class=\"navbar-brand\" href=\"/\">\n <img alt=\"Archivematica\" src=\"/media/images/logo_header.png\"></a>\n </a>\n\n \n \n \n \n \n \n \n \n \n\n <ul class=\"nav navbar-nav\">\n\n <li class=\"\"><a href=\"/transfer/\">Transfer</a></li>\n <li class=\"\"><a href=\"/backlog/\">Backlog</a></li>\n <li class=\"\"><a href=\"/appraisal/\">Appraisal</a></li>\n <li class=\"\"><a href=\"/ingest/\">Ingest</a></li>\n <li class=\"\"><a href=\"/archival-storage/\">Archival storage</a></li>\n <li class=\"\"><a href=\"/fpr/\">Preservation planning</a></li>\n <li class=\"\"><a href=\"/access/\">Access</a></li>\n <li class=\"\"><a href=\"/administration/\">Administration</a></li>\n\n \n\n </ul>\n\n \n\n </div>\n </div>\n </div>\n\n \n\n \n\n <div class=\"container\">\n\n <div class=\"content\">\n \n\n\n \n\n <h1>Internal server error</h1>\n\n <div class=\"alert block-message alert-warning\">\n <p>Sorry! Something wrong happened. Please, contact with your administrator.</p>\n </div>\n\n\n\n </div>\n\n </div>\n\n \n\n \n </body>\n</html>\n","status":500,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","headers":{"Accept":"application/json, text/plain, */*"},"url":"/access/archivesspace/levels/"},"statusText":"INTERNAL SERVER ERROR"}
(anonymous) appraisal_tab.js:15169
appraisal_tab.js:15169 TypeError: (0 , _jquery2.default)(...).draggable is not a function
at Object.link (appraisal_tab.js:96738)
at appraisal_tab.js:1990
at invokeLinkFn (appraisal_tab.js:11070)
at nodeLinkFn (appraisal_tab.js:10459)
at compositeLinkFn (appraisal_tab.js:9699)
at publicLinkFn (appraisal_tab.js:9564)
at lazyCompilation (appraisal_tab.js:9955)
at boundTranscludeFn (appraisal_tab.js:9742)
at controllersBoundTransclude (appraisal_tab.js:10509)
at ngIfWatchAction (appraisal_tab.js:28153) "<span tree-draggable="" file-type="backlog" uuid="{{ node.id }}" ng-if="!node.not_draggable" class="ng-binding ng-scope">"
(anonymous)
appraisal_tab.js:15169
appraisal_tab.js:15169 Error: [$parse:syntax] Syntax Error: Token 'path' is an unexpected token at column 6 of the expression [Show path:] starting at [path:].
http://errors.angularjs.org/1.6.4/$parse/syntax?p0=path&p1=is%20an%20unexpected%20token&p2=6&p3=Show%20path%3A&p4=path%3A
at appraisal_tab.js:710
at AST.throwError (appraisal_tab.js:15734)
at AST.ast (appraisal_tab.js:15484)
at Parser.parse (appraisal_tab.js:16797)
at $parse (appraisal_tab.js:16943)
at ChildScope.$watch (appraisal_tab.js:18216)
at Object.ngValueLink (appraisal_tab.js:26354)
at appraisal_tab.js:1990
at invokeLinkFn (appraisal_tab.js:11070)
at nodeLinkFn (appraisal_tab.js:10459) "<input class="btn btn-sm btn-default" type="button" ng-hide="vm.show_path" ng-value="{{ 'Show path:' | translate }}" ng-click="vm.show_path = !vm.show_path">"
(anonymous) appraisal_tab.js:15169
appraisal_tab.js:15169 Error: [$parse:syntax] Syntax Error: Token 'path' is an unexpected token at column 6 of the expression [Hide path:] starting at [path:].
http://errors.angularjs.org/1.6.4/$parse/syntax?p0=path&p1=is%20an%20unexpected%20token&p2=6&p3=Hide%20path%3A&p4=path%3A
at appraisal_tab.js:710
at AST.throwError (appraisal_tab.js:15734)
at AST.ast (appraisal_tab.js:15484)
at Parser.parse (appraisal_tab.js:16797)
at $parse (appraisal_tab.js:16943)
at ChildScope.$watch (appraisal_tab.js:18216)
at Object.ngValueLink (appraisal_tab.js:26354)
at appraisal_tab.js:1990
at invokeLinkFn (appraisal_tab.js:11070)
at nodeLinkFn (appraisal_tab.js:10459) "<input class="btn btn-sm btn-default" type="button" ng-show="vm.show_path" ng-value="{{ 'Hide path:' | translate }}" ng-click="vm.show_path = !vm.show_path">"
(anonymous)
appraisal_tab.js:15169
appraisal_tab.js:15169 TypeError: (0 , _jquery2.default)(...).draggable is not a function
at Object.link (appraisal_tab.js:96738)
at appraisal_tab.js:1990
at invokeLinkFn (appraisal_tab.js:11070)
at nodeLinkFn (appraisal_tab.js:10459)
at compositeLinkFn (appraisal_tab.js:9699)
at publicLinkFn (appraisal_tab.js:9564)
at lazyCompilation (appraisal_tab.js:9955)
at boundTranscludeFn (appraisal_tab.js:9742)
at controllersBoundTransclude (appraisal_tab.js:10509)
at ngIfWatchAction (appraisal_tab.js:28153) "<span tree-draggable="" file-type="backlog" uuid="{{ node.id }}" ng-if="!node.not_draggable" class="ng-binding ng-scope">"

History

#1 Updated by Nick Wilkinson over 4 years ago

  • Assignee changed from Nick Wilkinson to Mike Cantelon

Hi Mike, assigning this to you since I thought the browser console output on this issue might be of value to your investigations on #10807.

#2 Updated by Mike Cantelon over 4 years ago

  • Status changed from New to QA/Review
  • Assignee changed from Mike Cantelon to Nick Wilkinson

Hi Nick. I've fixed this in the qa/1.x branch. Not sure best thing to do with this issue. Perhaps get a QA instance deployed?

EDIT: Maybe it's best to hold off until the fix to show/hide path is also committed to Archivematica.

#3 Updated by Mike Cantelon over 4 years ago

  • Status changed from QA/Review to In progress
  • Assignee changed from Nick Wilkinson to Mike Cantelon

#4 Updated by Nick Wilkinson over 4 years ago

  • Assignee deleted (Mike Cantelon)

#5 Updated by Nick Wilkinson over 4 years ago

  • Assignee set to Mike Cantelon

Hey Mike, can you add a link to where you made the fix (PR, etc)?

#6 Updated by José Raddaoui Marín over 4 years ago

  • Status changed from In progress to Verified
  • Assignee changed from Mike Cantelon to Nick Wilkinson

Also available in: Atom PDF