Search found 207 matches

by kdim95
09 Apr 2024, 09:08
Forum: Laravel package
Topic: Integrity constraint violation when importing existing products, categories, etc.
Replies: 11
Views: 33454

Re: Integrity constraint violation when importing existing products, categories, etc.

aimeos wrote: 08 Apr 2024, 19:06 Did you mixed up <lists> with <property> tags?
I'm not sure. How can I checked if I "mixed up <lists> with <property> tags" ?
Are you running the import on the same Aimeos version as mine?
by kdim95
08 Apr 2024, 13:16
Forum: Laravel package
Topic: Integrity constraint violation when importing existing products, categories, etc.
Replies: 11
Views: 33454

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...
by kdim95
08 Apr 2024, 09:14
Forum: Laravel package
Topic: Integrity constraint violation when importing existing products, categories, etc.
Replies: 11
Views: 33454

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...
by kdim95
08 Apr 2024, 08:41
Forum: Laravel package
Topic: How to set elastic search custom field type?
Replies: 2
Views: 12276

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 ); } ];
by kdim95
05 Apr 2024, 12:45
Forum: Laravel package
Topic: How to set elastic search custom field type?
Replies: 2
Views: 12276

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...
by kdim95
04 Apr 2024, 15:02
Forum: Laravel package
Topic: Integrity constraint violation when importing existing products, categories, etc.
Replies: 11
Views: 33454

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...
by kdim95
04 Apr 2024, 12:46
Forum: Laravel package
Topic: Integrity constraint violation when importing existing products, categories, etc.
Replies: 11
Views: 33454

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...
by kdim95
07 Nov 2023, 10:49
Forum: Laravel package
Topic: jsonapi - how to increase rate limiter
Replies: 1
Views: 861

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.
by kdim95
19 Oct 2023, 13:51
Forum: Laravel package
Topic: Aimeos Autofill plugin conflict with jsonapi service update
Replies: 7
Views: 34096

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.
by kdim95
19 Oct 2023, 11:49
Forum: Laravel package
Topic: Aimeos Autofill plugin conflict with jsonapi service update
Replies: 7
Views: 34096

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...