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

Link/Button admin page failed to show the list of page to select an internal link #209

Closed
TLuesebrinck opened this issue Apr 24, 2024 · 7 comments · Fixed by #211
Closed

Comments

@TLuesebrinck
Copy link

The admin page for the link button plugin don't show the list of pages. The dropdown shows only "The result could not be loaded". Clicking the drop down cuase a console error :

jquery.min.2c872dbe60f4.js:2
GET https://mydomain/@dcf-links/link:autocomplete?app_label=app&model_name=model&field_name=field 404 (Not Found)

I am not absolute certain but I think this occured after installing the latest djangocms-fontend version.

@fsbraun
Copy link
Sponsor Member

fsbraun commented Apr 24, 2024

Sorry, I cannot reproduce the issue. The URL looks ok. Link app's ready() method registers the URL with Django. Can you check if it is registered? (It should be, since otherwise reverse would fail.)

@fsbraun
Copy link
Sponsor Member

fsbraun commented Apr 24, 2024

PS: I plan to move the URL into the admin space soon.

@TLuesebrinck
Copy link
Author

TLuesebrinck commented Apr 24, 2024 via email

@fsbraun
Copy link
Sponsor Member

fsbraun commented Apr 24, 2024

For example, by using django-extensions and ./manage.py show_urls.

@TLuesebrinck
Copy link
Author

TLuesebrinck commented Apr 24, 2024 via email

@fsbraun
Copy link
Sponsor Member

fsbraun commented Apr 24, 2024

I have not looked at the issue for now, but instead moved the autocomplete view into the admin (which I had planned for a while). Can you check if you're ok with version 1.3.2?

@fsbraun fsbraun reopened this Apr 24, 2024
@TLuesebrinck
Copy link
Author

Yes, with version 1.3.2, the internal link dropdown it is working again.

@fsbraun fsbraun closed this as completed Apr 25, 2024
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

Successfully merging a pull request may close this issue.

2 participants