Loading...
 
Features / Usability

Features / Usability


Migrating trackers (to V14)

posts: 28 Italy

Hello,
I am facing quite a few issues migrating a Tiki from 12 to 14 on the topic of trackers.
The migration procedure is a copy of the DB, followed by installation of Tiki 14. Globally the migration procedure works well. The only breaking points are in the trackers. The fields of type Item Link will have to be suppressed, or the whole search engine will not work.
When trying to redo the Item Link after the migration, it seems the system does not see the imported trackers as existing, meaning they do not appear in the list of available trackers in a newly created Item Link.
I'm posting this to see is someone has experienced migration of tracker, or if this is uncharted territory. I will then post bugs or discussions accordingly.
Greetings, Hubert

posts: 496

Hi

how did you set the search settings? are you using unified index? if so, is it with mysql or lucene or elasticsearch?
have you rebuilt the search index?

there were some issue with item linking and object selectors, so it was partially rewritten if I remember correctly. Maybe you can try it using tiki15 branch?

cheers,
gezza

posts: 28 Italy

Hi gezza,
good question, and yes I had to fix unified index. The test is done with unified index, mysql engine (lucene does not work yet, need to understand), freshly refreshed.
After rebuilding I am able to create brand new trackers with Item Links, but the migrated one do not work, and I get an error in the apache log when creating a new tracker item in such a migrated tracker:
Sun Feb 14 12:59:04.214491 2016 :error pid 28317 client xxx:51937 PHP Fatal error: Call to a member function getField() on a non-object in /lib/core/Tracker/Field/ItemLink.php on line 236, referer: /tiki-view_tracker.php?trackerId=8

If you think the migration might work better with branch 15, I will get a try with it. (So the rewrite occured in 15 and not 14 if I understand).
Thanks for the suggestion.
hubert

posts: 496

are you running Tiki14.2? looking at the commit logs, there were quite some commits for itemlink and the related object selector after Tiki14.0 was released

anyway, it might be some other problem, so if usng tiki14.2 or 15 does not help, please create a show instance here to demonstrate your issue: https://dev.tiki.org/File+a+bug

thanks&cheers
gezza


posts: 1563 Germany

Hello Hubert,

I recommend to first give Tiki 15 a try ... ist was branchedrecently (so it was trunk until recent).

As far as I remember, there have been made a bunch of changes and enhancements especially in the context you are mentioning (regarding tracker item link ...) which went into tunk after the 4.x release.

Regards,
Torsten


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting