question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

someting wrong in adminui

See original GitHub issue

my lists:

keystone.createList('Category', {
  schemaDoc: '视频的类型',
  fields: {
    title: { type: Text, isRequired: true},
  },
  access: {
    update: access.userIsAdmin,
    create: access.userIsAdmin,
    delete: access.userIsAdmin,
  },
  label: '分类',
  labelField: 'title'
})

keystone.createList('Tag', {
  schemaDoc: '视频的标签,也可以说是分类。',
  fields: {
    title: { type: Text, isRequired: true },
    counts: { type: Integer, defaultValue: 0},
  },
  access: {
    update: access.userIsAdminOrOwner,
    create: access.userIsAdmin,
    delete: access.userIsAdmin,
    auth: true,
  },
  label: '标签',
  labelField: 'title',
})

keystone.createList('Video', {
  label: '视频',
  schemaDoc: '关键的视频数据,可以设置标题等信息',
  fields: {
    title: { type: Text, isRequired: true},
    category: { type: Relationship, ref: 'Category' },
    counts: { type: Integer, defaultValue: 0},
    createdAt: {
      type: DateTime,
      format: 'DD/MM/YYYY',
      defaultValue: new Date()
    },
    tags: { type: Relationship, ref: 'Tag', many: true },
    poster: { type: Text },
    summary: { type: Wysiwyg },
    url: { type: Text, isMultiline: true }
  },
  access: {
    update: access.userIsAdminOrOwner,
    create: access.userIsAdmin,
    delete: access.userIsAdmin,
    auth: true,
  },
})

bug: 一、add tags fiels ,cant click × to delete。 QQ图片20191107185635 QQ图片20191107185653

二、When create a video in adminui, includes fieds: category and tags. after save i cant go into http://127.0.0.1:3000/admin/videos, page is blank. console show some error。 QQ图片20191107185803

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
LiamAttClarkecommented, Nov 11, 2019

I’m experiencing the same issue. It seems to only affect lists with relational columns. Removing relational columns from adminConfig.defaultColumns fixes the error until the column is manually added via the visible column selector interface.

0reactions
MadeByMikecommented, Nov 17, 2019

This is resolve and there is now a new issue for the refetch warning

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to log in | AdminUI Documentation - IdentityServer .com
If you are unable to login, you can troubleshoot using the below steps. Help! I'm stuck in a redirect loop. If you are...
Read more >
Error while login into adminui screen | Symantec Access ...
I have installed siteminder 12.52 and while accessing the Admin ui URL I am getting the attached error. and below are the server.log....
Read more >
Admin UI shows wrong Private IP in Gitlab runner section
Summary. My admin area shows duplicated IP / Wrong IP for my gitlab-runner fleet. UI shows "10.34.201.167" but it's not the real private...
Read more >
Admin UI | Socket.IO
IO admin UI can be used to have an overview of the state of your Socket ... First, install the @socket.io/admin-ui package: ......
Read more >
Backend appId Details - Amplify Admin UI - AWS Documentation
A stringified version of the current configs for your Amplify project. appId. string. True. The app ID. appName. string. False.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found