Profile application via wizard or Suggested Profiles quietly fails on Tiki 17+
- Status
- Open
- Subject
- Profile application via wizard or Suggested Profiles quietly fails on Tiki 17+
- Version
- 17.x
17.x Regression
18.x
20.x - Category
- Regression
- Feature
- Installer (profiles, upgrades and server-related issues)
Wizards - Profiles Wizard - Resolution status
- Please retest
- Submitted by
- Xavier de Pedro
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- Xavier de Pedro
- Rating
- Related-to
- Description
Example of url generated through the Profiles Wizard:
http://xavi-9794-6372.show.tikiwiki.org/tiki-admin.php?profile=Bug_Tracker_16&show_details_for=Bug_Tracker_16&categories%5B%5D=17.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2Example of equivalent profile applied through the Profiles Control panel:
http://xavi-9794-6372.show.tikiwiki.org/tiki-admin.php?ticket=4884aea2d5b951c86ed8b5fba540158a&daconfirm=y&profile=Bug_Tracker_16&repository=&page=profiles&redirect=0&list=FindThat show.t.o instance has:
u: admin
p: 12345Through control panel there sems to be some ticket param which is missing in the profiles wizard. Is this just the only thing which is missing?
UPDATE
17.x svn (Last update from SVN (17.2svn): Monday October 9, 2017 16:39:25 GMT-0200 - REV 64187 (MyISAM)) is confirmed to suffer from this issue still. Please, pay attention to the fact that the button to apply the profile is shown, but when you click, the page reloads, and no profile is applied.
URL from profiles wizard is still like:
http://xavi-9794-6374.show.tikiwiki.org/tiki-admin.php?profile=Collaborative_Community_12x&show_details_for=Collaborative_Community_12x&categories%5B%5D=17.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2u: admin
p: 12345
This is a regression from rrev:61862. The "$access->ticketMatch()" condition returns false, because the checkAuthenticity() method (called from tiki-admin.php) sets its property to false because a ticket is missing. And because the daconfirm request parameter is missing, the failure is silent.Pending re-test and backports to 18.x.
- Solution
Fixed ages ago in 17.x, sorry not updated (you can't actually apply a profile from as url now, not sure you could before, but it show the right profile and the button to apply it).this claim seems to be invalid, as indicated in the bug description weeks ago , and recently also reported by users in irc:
https://irc.tiki.org/irclogger_log/tikiwiki?date=2017-10-25,Wed&sel=6#l2The working solution is adding the missing
&ticket={ticket type=get}param to the URLs linking the profiles in the Wizard tpls (so the profiles are applicable then when listed on the Profiles control panel).- Importance
- 9
- Easy to solve?
- 8
- Priority
- 72
- 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
- 6374
- Created
- Sunday 25 June, 2017 18:50:13 UTC
by Xavier de Pedro - LastModif
- Saturday 06 July, 2019 10:55:34 UTC