Typo3 8.7.32 - Columns in custom extbase tables become partially "broken" every once in a while, does anyone look similar?
P粉797855790
P粉797855790 2024-02-21 21:27:32
0
1
411

I developed an extbase plugin that imports data from an external API into our website. The plugin depends on external_import, svconnector and svconnector_csv.

Everything works fine and has been working for several months, but on rare occasions (once a month or less) the data from a single column is converted to random numbers, but some are fine. It's always the same column of the same table. I looked it up and the numbers don't correspond to anything in the API.

There is no trace of these headers turning into numbers in sys_history, sys_log and tx_externalimport_domain_model_log, but when I re-import the data from the api, I have them Restore normal history. Also, when they move to numbers, tstamp doesn't update (yesterday (August 18th) was not a number, 165694181 corresponds to July 4th).

If anyone knows what might be happening, thanks!

Exported CSV of titles and timestamps:

title;tstamp;crdate
1024;1656941811;1647978601
10496;1656941811;1652189101
10752;1656941811;1652192701
11008;1656941811;1652192701
11264;1656941811;1647978301
11520;1656941811;1647979201
11776;1657138201;1652193601
12032;1656941811;1647875402
12288;1656941811;1652193001
12544;1656941811;1652193301
1280;1656941811;1652193001
12800;1656941811;1647875402
13056;1656941811;1652714101
13312;1660238401;1652714101
13568;1656941811;1652193301
13824;1656941811;1652193601
14080;1656941811;1652191202
14336;1656941811;1652191501
14592;1657640101;1652191501
14848;1656941811;1652191202
15104;1656941811;1647875402
1536;1658432401;1652193901
15360;1656941811;1652191202
15872;1656941811;1652193901
16128;1657131901;1656514801
16384;1657131901;1656513301
16640;1657224001;1652193901
16896;1656941811;1647875402
17152;1656941811;1652189101
17408;1656941811;1652192701
17664;1656651301;1647875402
1792;1656941811;1652193301
18176;1656514501;1652189401
18432;1656564901;1647879601
18688;1656941811;1647875402
18944;1656941811;1652192701
19200;1656941811;1652192701
19456;1656941811;1652712001
19712;1657303365;1652190901
19968;1656941811;1652190901
20224;1656941811;1652193901
2048;1656941811;1652191501
20480;1656941811;1652191501
20736;1656941811;1652189401
20992;1656941811;1652193001
21248;1656941811;1647875402
21504;1656941811;1652190002
21760;1656941811;1652191202
22016;1656941811;1647875402
22272;1656596101;1652193301
22528;1656941811;1647875402
22784;1656941811;1652193901
2304;1656941811;1652193001
23040;1658155201;1656527701
23296;1656941811;1652189401
23552;1656651301;1647875402
23808;1656651301;1647875402
2560;1656941811;1647875402
2816;1657223701;1652191501
3584;1656941811;1647875402
3840;1656941811;1652193301
4096;1656941811;1652193601
4352;1660238401;1647875402
4608;1656941811;1652193301
4864;1656941811;1652193601
512;1658513701;1650647701
5120;1656941811;1652193601
5376;1656941811;1652190002
5632;1656941811;1652191202
6144;1656941811;1647875402
6656;1656941811;1652191801
6912;1656941811;1652191801
7168;1656941811;1651082701
7424;1656941811;1652192401
768;1656592501;1652191501
7680;1656941811;1652191801
7936;1657303365;1652193301
8192;1656941811;1652193001
8448;1656941811;1645027443
8704;1656941811;1652125501
8960;1658344501;1647875402
9216;1656941811;1652192701
9472;1656941811;1647875402
9728;1656941811;1652191202
UNAFFECTED TITLE;1660833601;1652193301
UNAFFECTED TITLE;1660835701;1647875402
UNAFFECTED TITLE;1660836301;1647875402
UNAFFECTED TITLE;1660844401;1652193001
UNAFFECTED TITLE;1660837501;1652191501
UNAFFECTED TITLE;1660914001;1645027443
UNAFFECTED TITLE;1660832101;1660832101
UNAFFECTED TITLE;1660833601;1647875402
UNAFFECTED TITLE;1660848601;1647875402

P粉797855790
P粉797855790

reply all(1)
P粉514458863

You might use option sortby.

'ctrl' => [
    'sortby' => 'your_field',
],

Normally TYPO3 uses a field named sorting for this.

TYPO3 From time to time records need to be reordered, so the sorting columns are renumbered. Any previous information is gone and a new set of indices (numbers with distances so that new records can be inserted in between) is inserted.

If you only want to display data sorted by other fields, use option default_sortby:

'ctrl' => [
    'default_sortby' => 'your_field',
],

And delete the value of sortby.

See ## after Box example" rel="nofollow noreferrer">Example of default_sortby or ## in Box “nofollow noreferrer” > Sort

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!