Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to edit taxonomy data #103

Open
tkimnguyen opened this issue Jul 21, 2020 · 3 comments
Open

unable to edit taxonomy data #103

tkimnguyen opened this issue Jul 21, 2020 · 3 comments

Comments

@tkimnguyen
Copy link
Member

With version 2.0.1, Plone 5.2.1 on Python 3.7, Firefox 78.0.1, when I go to edit the taxonomy data http://localhost:8080/Taxonomy/@@taxonomy-edit-data?taxonomy=collective.taxonomy.location for a new taxonomy I created via the control panel, no UI elements appear and the browser console shows this:

Uncaught TypeError: t[r] is undefined
    mapStateToProps edittaxonomydata.js:16886
    configureFinalMapState edittaxonomydata.js:41198
    computeStateProps edittaxonomydata.js:41198
    updateStatePropsIfNeeded edittaxonomydata.js:41198
    render edittaxonomydata.js:41198
    _renderValidatedComponentWithoutOwnerOrContext edittaxonomydata.js:32207
    _renderValidatedComponent edittaxonomydata.js:32207
    performInitialMount edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:3354
    mountChildren edittaxonomydata.js:35779
    _createInitialChildren edittaxonomydata.js:35779
    mountComponent edittaxonomydata.js:35779
    mountComponent edittaxonomydata.js:3354
    performInitialMount edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:3354
    mountChildren edittaxonomydata.js:35779
    _createInitialChildren edittaxonomydata.js:35779
    mountComponent edittaxonomydata.js:35779
    mountComponent edittaxonomydata.js:3354
    mountChildren edittaxonomydata.js:35779
    _createInitialChildren edittaxonomydata.js:35779
    mountComponent edittaxonomydata.js:35779
    mountComponent edittaxonomydata.js:3354
    performInitialMount edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:3354
    performInitialMount edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:3354
    performInitialMount edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:3354
    performInitialMount edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:3354
    performInitialMount edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:3354
    performInitialMount edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:32207
    mountComponent edittaxonomydata.js:3354
    i edittaxonomydata.js:13242
    perform edittaxonomydata.js:3354
    s edittaxonomydata.js:13242
    perform edittaxonomydata.js:3354
    batchedUpdates edittaxonomydata.js:35779
    a edittaxonomydata.js:235
    _renderNewRootComponent edittaxonomydata.js:13242
    _renderSubtreeIntoContainer edittaxonomydata.js:13242
    render edittaxonomydata.js:13242
    <anonymous> edittaxonomydata.js:16886
    t edittaxonomydata.js:1
    <anonymous> edittaxonomydata.js:1
    t edittaxonomydata.js:1
    <anonymous> edittaxonomydata.js:1
    <anonymous> edittaxonomydata.js:1
@tkimnguyen
Copy link
Member Author

In Safari 13.1.1:

[Error] TypeError: undefined is not an object (evaluating 't[r].toLowerCase')
	(anonymous function) (edittaxonomydata.js:24:17763)
	(anonymous function) (edittaxonomydata.js:39:21022)
	(anonymous function) (edittaxonomydata.js:39:21788)
	(anonymous function) (edittaxonomydata.js:39:24295)
	_renderValidatedComponentWithoutOwnerOrContext (edittaxonomydata.js:28:27159)
	_renderValidatedComponent (edittaxonomydata.js:28:27326)
	performInitialMount (edittaxonomydata.js:28:23131)
	mountComponent (edittaxonomydata.js:28:22171)
	mountComponent (edittaxonomydata.js:7:5895)
	mountChildren (edittaxonomydata.js:29:21209)
	_createInitialChildren (edittaxonomydata.js:29:3789)
	mountComponent (edittaxonomydata.js:29:1942)
	mountComponent (edittaxonomydata.js:7:5895)
	performInitialMount (edittaxonomydata.js:28:23280)
	mountComponent (edittaxonomydata.js:28:22171)
	mountComponent (edittaxonomydata.js:7:5895)
	mountChildren (edittaxonomydata.js:29:21209)
	_createInitialChildren (edittaxonomydata.js:29:3789)
	mountComponent (edittaxonomydata.js:29:1942)
	mountComponent (edittaxonomydata.js:7:5895)
	mountChildren (edittaxonomydata.js:29:21209)
	_createInitialChildren (edittaxonomydata.js:29:3789)
	mountComponent (edittaxonomydata.js:29:1942)
	mountComponent (edittaxonomydata.js:7:5895)
	performInitialMount (edittaxonomydata.js:28:23280)
	mountComponent (edittaxonomydata.js:28:22171)
	mountComponent (edittaxonomydata.js:7:5895)
	performInitialMount (edittaxonomydata.js:28:23280)
	mountComponent (edittaxonomydata.js:28:22171)
	mountComponent (edittaxonomydata.js:7:5895)
	performInitialMount (edittaxonomydata.js:28:23280)
	mountComponent (edittaxonomydata.js:28:22171)
	mountComponent (edittaxonomydata.js:7:5895)
	performInitialMount (edittaxonomydata.js:28:23280)
	mountComponent (edittaxonomydata.js:28:22171)
	mountComponent (edittaxonomydata.js:7:5895)
	performInitialMount (edittaxonomydata.js:28:23280)
	mountComponent (edittaxonomydata.js:28:22171)
	mountComponent (edittaxonomydata.js:7:5895)
	performInitialMount (edittaxonomydata.js:28:23280)
	mountComponent (edittaxonomydata.js:28:22171)
	mountComponent (edittaxonomydata.js:7:5895)
	i (edittaxonomydata.js:23:2217)
	perform (edittaxonomydata.js:7:20077)
	s (edittaxonomydata.js:23:2431)
	perform (edittaxonomydata.js:7:20077)
	_renderNewRootComponent (edittaxonomydata.js:23:3694)
	_renderSubtreeIntoContainer (edittaxonomydata.js:23:4700)
	(anonymous function) (edittaxonomydata.js:24:18887)
	t (edittaxonomydata.js:1:112)
	(anonymous function) (edittaxonomydata.js:1:229)
	t (edittaxonomydata.js:1:112)
	(anonymous function) (edittaxonomydata.js:1:196)
	Global Code (edittaxonomydata.js:1:200)

@tkimnguyen
Copy link
Member Author

tkimnguyen commented Jul 21, 2020

I wonder if the problem is the name I gave to my new taxonomy ("Location"). If I create a new taxonomy called "Category" then the UI shows up for editing the taxonomy data.

@tkimnguyen
Copy link
Member Author

image

Also curious: the default language for this taxonomy shows as "English", whereas for the "Category" taxonomy I created that works, the default language is shown as "en-us".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant