Search found 206 matches
- 08 Apr 2024, 13:16
- Forum: Laravel package
- Topic: Integrity constraint violation when importing existing products, categories, etc.
- Replies: 11
- Views: 33413
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: 33413
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: 12264
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: 12264
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: 33413
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: 33413
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: 856
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: 34084
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.
- 19 Oct 2023, 11:49
- Forum: Laravel package
- Topic: Aimeos Autofill plugin conflict with jsonapi service update
- Replies: 7
- Views: 34084
Re: Aimeos Autofill plugin conflict with jsonapi service update
There is another problem. Now the notifications get called multiple times for the same service. 'addService.after' and 'addService.before' get called twice when the service is updated. The first time notification occurs, is when the service is added with its default values by the AutoFill plugin. Th...
- 06 Oct 2023, 08:26
- Forum: Laravel package
- Topic: Rebate is added as a product in the basket
- Replies: 2
- Views: 11165
Re: Rebate is added as a product in the basket
I have a clean installation on local. I added a rebate to it the same way. I printed it in the standard basket with dump( $this->standardBasket ) . When there is a rebate added to the order, the rebate is not added to the basket as a product in the local installation. The local installation has aime...