Admin Interface - Unable to select existing Record Id in Tags

Open
#860 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python, sqlite
Domain
backend, database

Research direction

Reproduce the issue in the _dashboard administrative interface using SQLite, with an existing auth_user record and the enabled Tags table. Compare the Record Id lookup with the working groups.add(1, 'manager') path; done means existing record IDs appear as selectable options and the UI-created tag record is saved correctly.

Written by the indexing model from the issue text.

Description

py4web: 1.20231115.1

Created one user in auth_user (Id = 1)

Enabled Tags, verified that auth_user_tag_groups exists, open table within the administrative dashboard _dashboard, select create a record.

Both Tagpath and Record Id fields are available for edit, however, the Record Id field is implemented as a lookup (drop-down), and no records are available for selecting.

If I programatically call groups.add(1, 'manager'), it then adds the appropriate record, just not on the UI.

Testing with SQLite DB, on Pop!_OS (Ubuntu) Linux,

Cheers

Dominant language
HTML
Stars
319
Forks
144
Avg merge
6d 20h
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from web2py/py4web

All issues in web2py/py4web

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.