Search found 208 matches
- 09 Apr 2024, 09:24
- Forum: Laravel package
- Topic: Integrity constraint violation when importing existing products, categories, etc.
- Replies: 11
- Views: 33765
Re: Integrity constraint violation when importing existing products, categories, etc.
And about checking if <lists> are mixed up with <property> tags? I don't think they are in this XML.
- 09 Apr 2024, 09:08
- Forum: Laravel package
- Topic: Integrity constraint violation when importing existing products, categories, etc.
- Replies: 11
- Views: 33765
- 08 Apr 2024, 13:16
- Forum: Laravel package
- Topic: Integrity constraint violation when importing existing products, categories, etc.
- Replies: 11
- Views: 33765
Re: Integrity constraint violation when importing existing products, categories, etc.
Hello, Thank you, this makes it clear about the category items. I am experiencing more integrity constraint violations when importing existing products. This time it seems to be coming from the product properties under the <property> tag. This is the error I get: Integrity constraint violation: 1062...
- 08 Apr 2024, 09:14
- Forum: Laravel package
- Topic: Integrity constraint violation when importing existing products, categories, etc.
- Replies: 11
- Views: 33765
Re: Integrity constraint violation when importing existing products, categories, etc.
Hello, Fixing the capitalization worked for the root catalog item, but the error occurs for the children as well Does this mean that the children also have to have ref="" parameter matching the catalog.code ? Adding this parameter to the child <catalogitem> tags seems to work, so I think t...
- 08 Apr 2024, 08:41
- Forum: Laravel package
- Topic: How to set elastic search custom field type?
- Replies: 2
- Views: 12408
Re: How to set elastic search custom field type?
Thank you @nos3, works great <?php return [ 'base' => function( array $mappings ) { $map = [ 'base' => [ 'properties' => [ 'myfield' => [ 'type' => 'date', 'format' => 'yyyy-MM-dd HH:mm:ss' ] ] ] ]; return array_replace_recursive( $mappings, $map ); } ];
- 05 Apr 2024, 12:45
- Forum: Laravel package
- Topic: How to set elastic search custom field type?
- Replies: 2
- Views: 12408
How to set elastic search custom field type?
Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 10.46.0 Environment: Linux Hello, I want to set a custom field to be of type "date" in the elastic search mappings. The reason behind this is because filtering results based on date breaks with custom attribu...
- 04 Apr 2024, 15:02
- Forum: Laravel package
- Topic: Integrity constraint violation when importing existing products, categories, etc.
- Replies: 11
- Views: 33765
Re: Integrity constraint violation when importing existing products, categories, etc.
Hello, I get Integrity constraint violation even when attempting to import the root catalog item: Minimal XML: <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <catalog> <catalogitem ref="home"> <catalog.code><![CDATA[Home]]></catalog.code> <catalog.lab...
- 04 Apr 2024, 12:46
- Forum: Laravel package
- Topic: Integrity constraint violation when importing existing products, categories, etc.
- Replies: 11
- Views: 33765
Integrity constraint violation when importing existing products, categories, etc.
Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.17 Environment: Linux Hello, I'm getting integrity constraint errors when importing XMLs for products, categories, etc. The expected behavior is for the products, categegories, etc. to be updated if they already ex...
- 07 Nov 2023, 10:49
- Forum: Laravel package
- Topic: jsonapi - how to increase rate limiter
- Replies: 1
- Views: 894
jsonapi - how to increase rate limiter
Hello,
How do you increase the rate limiter time for the jsonapi so that it takes more attempts before it throws "Too Many Attempts."?
Please add the information in the documentation if it exists.
How do you increase the rate limiter time for the jsonapi so that it takes more attempts before it throws "Too Many Attempts."?
Please add the information in the documentation if it exists.
- 19 Oct 2023, 13:51
- Forum: Laravel package
- Topic: Aimeos Autofill plugin conflict with jsonapi service update
- Replies: 7
- Views: 34195
Re: Aimeos Autofill plugin conflict with jsonapi service update
I found a solution.
I added a bool parameter to every method that sends notifications in this class:
Aimeos\MShop\Order\Item\Base
The AutoFill plugin should set that bool parameter to false when calling deleteService(), addService(), etc.
I added a bool parameter to every method that sends notifications in this class:
Aimeos\MShop\Order\Item\Base
The AutoFill plugin should set that bool parameter to false when calling deleteService(), addService(), etc.