|
Lines 1358-1363
subtest 'columns_to_str' => sub {
Link Here
|
| 1358 |
$cache->clear_from_cache("MarcStructure-0-"); |
1358 |
$cache->clear_from_cache("MarcStructure-0-"); |
| 1359 |
$cache->clear_from_cache("MarcStructure-1-"); |
1359 |
$cache->clear_from_cache("MarcStructure-1-"); |
| 1360 |
$cache->clear_from_cache("MarcSubfieldStructure-"); |
1360 |
$cache->clear_from_cache("MarcSubfieldStructure-"); |
|
|
1361 |
$cache->clear_from_cache("libraries:name"); |
| 1362 |
$cache->clear_from_cache("itemtype:description:en"); |
| 1363 |
$cache->clear_from_cache("cn_sources:description"); |
| 1364 |
$cache->clear_from_cache("AV_descriptions:LOST"); |
| 1361 |
|
1365 |
|
| 1362 |
# Creating subfields 'é', 'è' that are not linked with a kohafield |
1366 |
# Creating subfields 'é', 'è' that are not linked with a kohafield |
| 1363 |
Koha::MarcSubfieldStructures->search( |
1367 |
Koha::MarcSubfieldStructures->search( |
|
Lines 1436-1444
subtest 'columns_to_str' => sub {
Link Here
|
| 1436 |
$cache->clear_from_cache("MarcStructure-0-"); |
1440 |
$cache->clear_from_cache("MarcStructure-0-"); |
| 1437 |
$cache->clear_from_cache("MarcStructure-1-"); |
1441 |
$cache->clear_from_cache("MarcStructure-1-"); |
| 1438 |
$cache->clear_from_cache("MarcSubfieldStructure-"); |
1442 |
$cache->clear_from_cache("MarcSubfieldStructure-"); |
|
|
1443 |
$cache->clear_from_cache("libraries:name"); |
| 1444 |
$cache->clear_from_cache("itemtype:description:en"); |
| 1445 |
$cache->clear_from_cache("cn_sources:description"); |
| 1446 |
$cache->clear_from_cache("AV_descriptions:LOST"); |
| 1439 |
|
1447 |
|
| 1440 |
$schema->storage->txn_rollback; |
1448 |
$schema->storage->txn_rollback; |
| 1441 |
|
|
|
| 1442 |
}; |
1449 |
}; |
| 1443 |
|
1450 |
|
| 1444 |
subtest 'strings_map() tests' => sub { |
1451 |
subtest 'strings_map() tests' => sub { |
|
Lines 1453-1458
subtest 'strings_map() tests' => sub {
Link Here
|
| 1453 |
$cache->clear_from_cache("MarcStructure-0-"); |
1460 |
$cache->clear_from_cache("MarcStructure-0-"); |
| 1454 |
$cache->clear_from_cache("MarcStructure-1-"); |
1461 |
$cache->clear_from_cache("MarcStructure-1-"); |
| 1455 |
$cache->clear_from_cache("MarcSubfieldStructure-"); |
1462 |
$cache->clear_from_cache("MarcSubfieldStructure-"); |
|
|
1463 |
$cache->clear_from_cache("libraries:name"); |
| 1464 |
$cache->clear_from_cache("itemtype:description:en"); |
| 1465 |
$cache->clear_from_cache("cn_sources:description"); |
| 1456 |
|
1466 |
|
| 1457 |
# Recreating subfields just to be sure tests will be ok |
1467 |
# Recreating subfields just to be sure tests will be ok |
| 1458 |
# 1 => av (LOST) |
1468 |
# 1 => av (LOST) |
|
Lines 1561-1567
subtest 'strings_map() tests' => sub {
Link Here
|
| 1561 |
class_split_rule => $class_split_rule->class_split_rule, |
1571 |
class_split_rule => $class_split_rule->class_split_rule, |
| 1562 |
} |
1572 |
} |
| 1563 |
} |
1573 |
} |
| 1564 |
); |
1574 |
)->store(); |
| 1565 |
|
1575 |
|
| 1566 |
$item->set( |
1576 |
$item->set( |
| 1567 |
{ |
1577 |
{ |
|
Lines 1633-1638
subtest 'strings_map() tests' => sub {
Link Here
|
| 1633 |
$cache->clear_from_cache("MarcStructure-0-"); |
1643 |
$cache->clear_from_cache("MarcStructure-0-"); |
| 1634 |
$cache->clear_from_cache("MarcStructure-1-"); |
1644 |
$cache->clear_from_cache("MarcStructure-1-"); |
| 1635 |
$cache->clear_from_cache("MarcSubfieldStructure-"); |
1645 |
$cache->clear_from_cache("MarcSubfieldStructure-"); |
|
|
1646 |
$cache->clear_from_cache("libraries:name"); |
| 1647 |
$cache->clear_from_cache("itemtype:description:en"); |
| 1648 |
$cache->clear_from_cache("cn_sources:description"); |
| 1636 |
|
1649 |
|
| 1637 |
$schema->storage->txn_rollback; |
1650 |
$schema->storage->txn_rollback; |
| 1638 |
}; |
1651 |
}; |
| 1639 |
- |
|
|