Skip to content

Uncaught TypeError: item.getTitle is not a function #28

@justin-barca

Description

@justin-barca

[Enter steps to reproduce:]

  1. Install 'github' package alonside this package
  2. In a git project, create unstaged changes, and open the 'git' panel (link on bottom right corner)
  3. Click on the files to open an unstaged changes window (sometimes it takes multiple clicks on different files to trigger), should see error below

Atom: 1.33.0 x64
Electron: 2.0.11
OS: Ubuntu 18.04.1
Thrown From: open-files package 0.8.4

Stack Trace

Uncaught TypeError: item.getTitle is not a function

At /home/justin.barca/.atom/packages/open-files/lib/open-files-pane-view.js:134

TypeError: item.getTitle is not a function
    at /packages/open-files/lib/open-files-pane-view.js:134:24

Commands

     -4:30.8.0 intentions:highlight (input.hidden-input)
     -4:28.2.0 core:close (input.hidden-input)
     -4:11.9.0 intentions:highlight (input.hidden-input)
     -4:11.2.0 core:close (input.hidden-input)
     -3:09.9.0 intentions:highlight (input.hidden-input)
  2x -3:08.2.0 find-and-replace:select-next (input.hidden-input)
     -3:01.8.0 intentions:highlight (input.hidden-input)
  3x -3:01.0 find-and-replace:select-next (input.hidden-input)
     -2:56.7.0 intentions:highlight (input.hidden-input)
     -2:56 core:save (input.hidden-input)
     -0:32.7.0 core:move-down (div.github-StagingView.unstaged-changes-focused)
     -0:32 core:move-up (div.github-StagingView.unstaged-changes-focused)
  3x -0:31 core:move-down (div.github-StagingView.unstaged-changes-focused)
     -0:22.7.0 core:move-up (div.github-StagingView.unstaged-changes-focused)
     -0:21.7.0 core:move-down (div.github-StagingView.unstaged-changes-focused)
     -0:13.9.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-monokai-shade.theme-atom-dark-ui)

Non-Core Packages

atom-css-unit-converter 1.1.1 
atom-ide-ui 0.13.0 
atom-import-js 0.21.0 
atom-import-sort 5.2.0 
atom-live-server 2.3.0 
atom-monokai 0.10.9 
atom-monokai-dark 0.4.0 
atom-quokka 1.0.119 
atom-runner 2.7.1 
atom-terminal-panel 4.4.4 
atom-ternjs 0.18.3 
autocomplete 0.47.0 
bottom-dock 0.4.4 
busy-signal 1.4.3 
change-case 0.6.5 
city-lights-ui 1.5.3 
color-picker 2.3.0 
compare-files 0.8.1 
css-hyperclick 0.1.5 
custom-invisibles 0.1.2 
docblockr 0.13.7 
emmet 2.4.3 
es6-javascript 1.0.0 
expand-region 0.4.2 
expand-selection-to-quotes 0.11.0 
extract-selection 0.4.0 
file-icons 2.1.26 
fix-indent-on-paste 0.1.1 
formatter-json 1.0.1 
from-and-to-json 1.0.0 
git-diff-details 1.4.0 
git-difftool 0.2.7 
gitlab 0.1.3-7 
gitlab-integration 0.4.7 
highlight-selected 0.14.0 
intentions 1.1.5 
js-hyperclick 1.13.3 
jump-to-import 3.6.5 
language-babel 2.85.0 
language-javascript-plus 1.9.3 
language-vue 0.23.1 
language-vue-component 0.5.0 
linter 2.2.0 
linter-clay-coffeelint 1.0.6 
linter-coffeelint 2.0.1 
linter-coffeescript 1.0.0 
linter-eslint 8.4.1 
linter-jshint 3.1.9 
linter-python-pep8 0.2.0 
linter-ui-default 1.7.1 
minimap 4.29.9 
minimap-highlight-selected 4.6.1 
monokai-dark 1.5.0 
monokai-seti 0.9.0 
monokai-shade 0.4.0 
monokai-slate 0.6.0 
numix-ui 0.2.3 
object-to-style-string 0.0.0 
open-files 0.8.4 
open-in-browser 0.5.2 
organize-imports 1.0.0 
pigments 0.40.2 
platformio-ide-terminal 2.8.4 
prettier-atom 0.56.0 
pretty-json 2.0.3 
project-manager 3.3.6 
react 0.18.0 
script 3.18.1 
seti-ui 1.11.0 
sort-words 0.1.4 
sorter 1.2.1 
split-diff 1.5.3 
sublime-block-comment 0.5.1 
swap-selection 0.4.0 
tab-foldername-index 3.3.0 
text-pastry 0.6.1 
todo-show 2.3.2 
toggle 0.6.2 
toggle-quotes 1.1.3 
url-open 0.1.0 
uuidgen 1.4.0 
vue2-autocomplete 0.1.0-alpha.4 
vuejs2-snippets 1.1.0 
xml-formatter 0.11.0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions