When a package is missing interface should help to fix the issue
- Status
- Closed
- Subject
- When a package is missing interface should help to fix the issue
- Version
- 23.x
- Category
- Developer Training
- Documentation (or Advocacy)
- Easy for Newbie Dev
- Feature request
- Feature
- Admin Interface (UI)
Packages - Resolution status
- Fixed or Solved
- Submitted by
- Bernard Sfez / Tiki Specialist
- Keep informed
- Adrien
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
If a package is missing the help/warning information displays a link to the external missing package repository.
It is important to note that we have already a similar mechanism when looking to a page (not the admin control panels) that display a message for admins (I hope for admins only ?)
At http://bsfez-11581-7999.show2.tikiwiki.org/tiki-admin.php?page=fgal&cookietab=6&highlight=feature_docs
, enable "Use PDF.js".
It will display an alert (red background):
The first link "Missing tiki package :" with a link to : tiki-admin.php?page=packages
Then "npm-asset/pdfjs-dist-viewer-min" with a link to :https://asset-packagist.org/package/npm-asset/pdfjs-dist-viewer-min
It should display:
"A Tiki package is missing: Install mpdf/mpdf"
"Install mpdf/mpdf" should be a link to : tiki-admin.php?page=packages1. Tells the user of a problem
2. Explain what is the problem
3. Suggest the user a way to solve the issue
4. Give the user the direction/action to solve the issueThat's the way a missing package should handled, anywhere.
I added "anywhere" because it seems we have different behaviours.
IE: Go to http://bsfez-11581-7999.show2.tikiwiki.org/tiki-admin.php?page=print
For the "PDF from URL" dropdown, select mPDF. The "PDF Orientation" error will show
"Missing tiki package: mpdf/mpdf" with parts with the same link. (not needed)- Solution
When a package is missing the warning should say (everywhere):
"A Tiki package is missing: Install mpdf/mpdf" (change mpdf/mpdf with the relevant missing package name, tag)
"Install mpdf/mpdf" should be a link to : tiki-admin.php?page=packages- Importance
- 5
- Easy to solve?
- 7
- Priority
- 35
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7999
- Created
- Tuesday 21 December, 2021 08:34:05 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Friday 25 March, 2022 09:58:46 UTC