Profile 'Dynamic items list' doesn't load in the admin panel & error shown through 'profile tester'
- Status
- Closed
- Subject
- Profile 'Dynamic items list' doesn't load in the admin panel & error shown through 'profile tester'
- Version
- 12.x
- Category
- Error
- Community projects
- Less than 30-minutes fix
- Feature
- Profile Manager
- Resolution status
- Fixed or Solved
- Submitted by
- Xavier de Pedro
- Lastmod by
- Xavier de Pedro
- Rating
- Description
After an issue reported by a user in dev.t.o, and an example produced in the corresponding show.t.o site, I decided to create the corresponding profile to be able to test dynamic items list easily from now onwards in different tiki versions, etc. That's the rationale of this profile:
https://profiles.tiki.org/Dynamic+items+listAfter I added the sections with data ("Objects in Products Tracker" and "Objects in Service Tracker"), the profile doesn't load any more in the Tiki admin panel for profiles.
And when I added that yaml code in tiki-admin.php?page=profiles&cookietab=3 > "Profile Tester", then I got this error message:
Copy to clipboardFatal error: Call to a member function getRequiredProfiles() on a non-object in /var/www/trunk/lib/core/Tiki/Profile.php on line 479
Any tips?
And if I apply only the 2 sections defining the tracker and tracker fields (no sample data), then I get:
Copy to clipboardAn error occurred: Unknown objects are referenced: tiki://local/Test#products, tiki://local/Test#products_name, tiki://local/Test#products, tiki://local/Test#products_name, tiki://local/Test#products_version
After I removed the $ at the end of the objects defined elsewhere, then I ended up with this error through the Profile tester and only the section with trackers and tracker fields (no tracker data):
Copy to clipboardFatal error: Call to a member function getRequiredProfiles() on a non-object in /var/www/xavi-9794-4911/lib/core/Tiki/Profile.php on line 479- Workaround
replacing many
$profileobject:
with the profile name:
$Dynamic_items_list_demo:
and fixing one error of a missing variable service_serviceServiceName. (or something like that)- Importance
- 5
- Easy to solve?
- 8
- Priority
- 40
- 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
- 4911
- Created
- Tuesday 12 November, 2013 13:07:51 UTC
by Xavier de Pedro - LastModif
- Wednesday 20 November, 2013 11:33:04 UTC