Loading...
 
Skip to main content

12.x: profile data defined for item link field do not get stored in local tiki where profile was applied

Status
Closed
Subject
12.x: profile data defined for item link field do not get stored in local tiki where profile was applied
Version
12.x Regression
Category
  • Regression
  • Less than 30-minutes fix
Feature
Installer (profiles, upgrades and server-related issues)
Trackers
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
Nelson Ko
Lastmod by
Xavier de Pedro
Rating
(0)
Description

This was working in Tiki9, as far as I know.

12.x: profile data defined for item link field do not get stored in local tiki where profile was applied

Example: apply profile "Time_Sheet" ( https://profiles.tiki.org/Time_Sheet ), and notice that items "Watch TV" or "Setup of Tiki TimeSheet" had defined "General" in the field "Associated project", which is an item link field.

The field seems to have been well defined, since it allows the admin (once the profile has been applied) to edit a tracker "Time Sheet" item, and select the project from the drop down list (so far it only contains "General").

To be reproduced in short in a show.t.o instance associated with this item.
http://xavi-9794-4983.show.tikiwiki.org/tiki-view_tracker.php?trackerId=2
u: admin
p: 12345

Solution

Item link field points to other fields by ID and not by value, which was a design change I think in TIki 10. As a result, you need to update the profile to instead of pointing to "General", to point to $profileobject:project_general$

Xavi, can you retest with amended profile? Thanks,


Confirmed: Fixed, thanks Nelson!

Importance
3
Easy to solve?
7
Priority
21
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4983
Created
Monday 25 November, 2013 07:38:38 UTC
by Xavier de Pedro
LastModif
Wednesday 27 November, 2013 11:00:21 UTC


Show PHP error messages