issue_owner_repo sequencelengths 2 2 | issue_body stringlengths 0 7.98k ⌀ | issue_title stringlengths 1 346 | issue_comments_url stringlengths 58 81 | issue_comments_count int64 0 76 | issue_created_at timestamp[ns] | issue_updated_at timestamp[ns, tz=UTC] | issue_html_url stringlengths 39 62 | issue_github_id int64 288M 2.33B | issue_number int64 1 168k | msg stringlengths 161 8.17k | n_tokens int64 161 8.17k | __index_level_0__ int64 38 207k | embedding sequencelengths 3.07k 3.07k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[
"PrestaShop",
"PrestaShop"
] | ### Prerequisites
- [X] I understand and accept the project's [code of conduct](https://github.com/PrestaShop/PrestaShop/blob/develop/CODE_OF_CONDUCT.md).
- [X] I have already [searched in existing issues](https://github.com/PrestaShop/PrestaShop/issues?q=is%3Aissue+label%3ABug) and found no previous report of this bug.
### Describe the bug and add attachments
When using product customizations with an additional cost, two issues arise. The additional cost for basic customizations in Prestashop cannot be managed directly, but they can be handled through a custom module by utilizing the id_module and price fields in the customized_data table, which Prestashop automatically uses to calculate the product cost.
Issue 1:
When purchasing a customized item with an extra charge, the "Total products" column on the order confirmation page is incorrect.
Attached are screenshot **01 - Order create.png** and video **01 - Order create.webm**.
Issue 2:
When purchasing the same customized item with two different customizations and two different costs, if I modify the cost of one of the two items in the order, the system updates the cost of both products.
Attached are screenshots **02 - Order edit - 01.png** and **02 - Order edit - 02.png** and video **02 - Order edit.webm**.
Attached is a module that adds 2 customizations to any item added to the cart. Adding the same item twice (with two separate cart additions), the system adds 2 different customizations with 2 different costs.
The module is just an example and with quickly developed code.
**01 - Order create.png**

**01 - Order create.webm**
[01 - Order create.webm](https://github.com/PrestaShop/PrestaShop/assets/2463965/a44ac956-c171-429b-b49e-afdbd7dfd6e1)
**02 - Order edit - 01.png**

**02 - Order edit - 02.png**

**02 - Order edit.webm**
[02 - Order edit.webm](https://github.com/PrestaShop/PrestaShop/assets/2463965/55280fda-5fa3-49d9-8e7e-9f9e008975ef)
**Module**
[cnc_prova_configurazionearticolo.zip](https://github.com/user-attachments/files/15520943/cnc_prova_configurazionearticolo.zip)
### Expected behavior
_No response_
### Steps to reproduce
Issue 1:
1. Access the site and add a product to the cart.
2. Add a customization with an additional cost to the product.
3. Proceed to checkout and complete the order.
4. Observe the "Total products" column on the order confirmation page.
Issue 2:
1. Access the site and add the same product to the cart with two different customizations and different costs.
2. Complete the order.
3. Modify the cost of one of the customizations in the order.
4. Observe that the system updates the cost of both customizations.
### PrestaShop version(s) where the bug happened
8.1.x
### PHP version(s) where the bug happened
all
### If your bug is related to a module, specify its name and its version
_No response_
### Your company or customer's name goes here (if applicable).
Codencode | Problems with Product Customizations | https://api.github.com/repos/PrestaShop/PrestaShop/issues/36286/comments | 2 | 2024-06-01T06:23:06 | 2024-06-11T09:17:38 | https://github.com/PrestaShop/PrestaShop/issues/36286 | 2,328,950,769 | 36,286 | This is a GitHub Issue
repo:PrestaShop
owner:PrestaShop
Title : Problems with Product Customizations
Issue date:
--- start body ---
### Prerequisites
- [X] I understand and accept the project's [code of conduct](https://github.com/PrestaShop/PrestaShop/blob/develop/CODE_OF_CONDUCT.md).
- [X] I have already [searched in existing issues](https://github.com/PrestaShop/PrestaShop/issues?q=is%3Aissue+label%3ABug) and found no previous report of this bug.
### Describe the bug and add attachments
When using product customizations with an additional cost, two issues arise. The additional cost for basic customizations in Prestashop cannot be managed directly, but they can be handled through a custom module by utilizing the id_module and price fields in the customized_data table, which Prestashop automatically uses to calculate the product cost.
Issue 1:
When purchasing a customized item with an extra charge, the "Total products" column on the order confirmation page is incorrect.
Attached are screenshot **01 - Order create.png** and video **01 - Order create.webm**.
Issue 2:
When purchasing the same customized item with two different customizations and two different costs, if I modify the cost of one of the two items in the order, the system updates the cost of both products.
Attached are screenshots **02 - Order edit - 01.png** and **02 - Order edit - 02.png** and video **02 - Order edit.webm**.
Attached is a module that adds 2 customizations to any item added to the cart. Adding the same item twice (with two separate cart additions), the system adds 2 different customizations with 2 different costs.
The module is just an example and with quickly developed code.
**01 - Order create.png**

**01 - Order create.webm**
[01 - Order create.webm](https://github.com/PrestaShop/PrestaShop/assets/2463965/a44ac956-c171-429b-b49e-afdbd7dfd6e1)
**02 - Order edit - 01.png**

**02 - Order edit - 02.png**

**02 - Order edit.webm**
[02 - Order edit.webm](https://github.com/PrestaShop/PrestaShop/assets/2463965/55280fda-5fa3-49d9-8e7e-9f9e008975ef)
**Module**
[cnc_prova_configurazionearticolo.zip](https://github.com/user-attachments/files/15520943/cnc_prova_configurazionearticolo.zip)
### Expected behavior
_No response_
### Steps to reproduce
Issue 1:
1. Access the site and add a product to the cart.
2. Add a customization with an additional cost to the product.
3. Proceed to checkout and complete the order.
4. Observe the "Total products" column on the order confirmation page.
Issue 2:
1. Access the site and add the same product to the cart with two different customizations and different costs.
2. Complete the order.
3. Modify the cost of one of the customizations in the order.
4. Observe that the system updates the cost of both customizations.
### PrestaShop version(s) where the bug happened
8.1.x
### PHP version(s) where the bug happened
all
### If your bug is related to a module, specify its name and its version
_No response_
### Your company or customer's name goes here (if applicable).
Codencode
--- end body ---
comments :
--- start comments ---
--- end comments --- | 3,555 | 38 | [
-0.03669775277376175,
0.011157016269862652,
-0.004655445460230112,
0.017626481130719185,
0.008050709962844849,
-0.009134305641055107,
-0.024288583546876907,
0.03547770529985428,
-0.027242382988333702,
0.01992209628224373,
0.0063129449263215065,
-0.021671902388334274,
0.014520173892378807,
... |
[
"gpac",
"gpac"
] | I am new to GPAC and DASH encoding, so I might be missing something. I am using Python with latest Nightly Builds.
What I currently do is first encode the mkv/mp4 videos to my base format using ffmpeg.
**Command:**
```
encode_command = [
os.path.join(BIN_DIR, "ffmpeg"),
"-i", raw_file_location,
"-c:v", "libx264",
"-preset", "slow",
"-crf", "23",
"-c:a", "aac",
"-b:a", "96k",
"-c:s", "mov_text",
"-movflags", "faststart",
"-f", "mp4",
"-y",
"-map", "0",
encoded_file_location
]
```
This gets encoded successfully.
Now, mp4box processing with the encoded file:
```
split_command = [
MP4BOX_PATH,
"-dash", "5000",
"-frag", "5000",
"-profile", "dashavc264:live",
"-segment-name", segment_path_template,
"-segment-ext", "null",
"-segment-timeline",
"-out", manifest_name,
"-init-seg", init_segment_path,
"-url-template",
"7cd2d8fe0b0a:fmt=video/x-matroska#trackID=0:id=vid0:role=main",
"7cd2d8fe0b0a:fmt=video/x-matroska#trackID=1:id=aud0:role=main",
"7cd2d8fe0b0a:fmt=video/x-matroska#trackID=2:id=sub0",
"7cd2d8fe0b0a:fmt=video/x-matroska#trackID=3:id=sub1",
]
```
Now after processing size of the folder gets 4x times. Even if I don't encode the video and directly process mp4box, 3-4x size increase is visible. For example :
last file encoded size was 520MB. and after MP4BOX processing it reached 2GB of the size.
nonEncoded file: 443MB after process is become 1.73GB.
| Size gets 4x times of original size after splitting? | https://api.github.com/repos/gpac/gpac/issues/2852/comments | 1 | 2024-05-30T17:11:46 | 2024-05-31T07:56:50 | https://github.com/gpac/gpac/issues/2852 | 2,326,162,484 | 2,852 | This is a GitHub Issue
repo:gpac
owner:gpac
Title : Size gets 4x times of original size after splitting?
Issue date:
--- start body ---
I am new to GPAC and DASH encoding, so I might be missing something. I am using Python with latest Nightly Builds.
What I currently do is first encode the mkv/mp4 videos to my base format using ffmpeg.
**Command:**
```
encode_command = [
os.path.join(BIN_DIR, "ffmpeg"),
"-i", raw_file_location,
"-c:v", "libx264",
"-preset", "slow",
"-crf", "23",
"-c:a", "aac",
"-b:a", "96k",
"-c:s", "mov_text",
"-movflags", "faststart",
"-f", "mp4",
"-y",
"-map", "0",
encoded_file_location
]
```
This gets encoded successfully.
Now, mp4box processing with the encoded file:
```
split_command = [
MP4BOX_PATH,
"-dash", "5000",
"-frag", "5000",
"-profile", "dashavc264:live",
"-segment-name", segment_path_template,
"-segment-ext", "null",
"-segment-timeline",
"-out", manifest_name,
"-init-seg", init_segment_path,
"-url-template",
"7cd2d8fe0b0a:fmt=video/x-matroska#trackID=0:id=vid0:role=main",
"7cd2d8fe0b0a:fmt=video/x-matroska#trackID=1:id=aud0:role=main",
"7cd2d8fe0b0a:fmt=video/x-matroska#trackID=2:id=sub0",
"7cd2d8fe0b0a:fmt=video/x-matroska#trackID=3:id=sub1",
]
```
Now after processing size of the folder gets 4x times. Even if I don't encode the video and directly process mp4box, 3-4x size increase is visible. For example :
last file encoded size was 520MB. and after MP4BOX processing it reached 2GB of the size.
nonEncoded file: 443MB after process is become 1.73GB.
--- end body ---
comments :
--- start comments ---
--- end comments --- | 2,352 | 128,780 | [
-0.021498551592230797,
0.03112693317234516,
-0.01686982996761799,
0.014337742701172829,
0.020756665617227554,
-0.021772725507616997,
0.010233181528747082,
0.06325379759073257,
-0.03686848282814026,
0.0224017146974802,
0.021869493648409843,
-0.009023585356771946,
0.006672937422990799,
-0.01... |
[
"gpac",
"gpac"
] | "I'm using the following flags to build a filter graph iteratively. I've observed that compared to n(...TRUNCATED) | Question about deferred linking | https://api.github.com/repos/gpac/gpac/issues/2851/comments | 4 | 2024-05-30T00:54:45 | 2024-06-05T16:06:03 | https://github.com/gpac/gpac/issues/2851 | 2,324,456,638 | 2,851 | "This is a GitHub Issue\nrepo:gpac\nowner:gpac\nTitle : Question about deferred linking\nIssue date:(...TRUNCATED) | 1,041 | 128,781 | [-0.007793569006025791,0.027028586715459824,-0.02092430368065834,0.012069830670952797,-0.01845974102(...TRUNCATED) |
[
"gpac",
"gpac"
] | "Hi, I am using the following command to send dash files over ROUTE protocol to a multicast IP::\r\n(...TRUNCATED) | ROUTE PACKETS CHECKSUM ERROR | https://api.github.com/repos/gpac/gpac/issues/2850/comments | 2 | 2024-05-28T08:40:46 | 2024-05-29T08:22:54 | https://github.com/gpac/gpac/issues/2850 | 2,320,475,205 | 2,850 | "This is a GitHub Issue\nrepo:gpac\nowner:gpac\nTitle : ROUTE PACKETS CHECKSUM ERROR\nIssue date:\n\(...TRUNCATED) | 807 | 128,782 | [-0.0489935465157032,0.010852640494704247,-0.002362443134188652,0.023428600281476974,-0.010304311290(...TRUNCATED) |
[
"gpac",
"gpac"
] | "Some inputs requires to attach properties to virtually all output PIDs. If we need to mux these pac(...TRUNCATED) | Identifying duplicated packet properties | https://api.github.com/repos/gpac/gpac/issues/2849/comments | 0 | 2024-05-27T12:39:16 | 2024-05-27T12:39:16 | https://github.com/gpac/gpac/issues/2849 | 2,319,064,620 | 2,849 | "This is a GitHub Issue\nrepo:gpac\nowner:gpac\nTitle : Identifying duplicated packet properties\nIs(...TRUNCATED) | 558 | 128,783 | [-0.055249571800231934,0.028175830841064453,-0.0205191969871521,0.006964201107621193,0.0049775368534(...TRUNCATED) |
[
"gpac",
"gpac"
] | "I have encountered three cases where argument parsing is different than what I expected. Let me kno(...TRUNCATED) | Argument parsing is incorrect on some cases | https://api.github.com/repos/gpac/gpac/issues/2847/comments | 4 | 2024-05-25T20:43:26 | 2024-05-28T16:12:13 | https://github.com/gpac/gpac/issues/2847 | 2,317,225,508 | 2,847 | "This is a GitHub Issue\nrepo:gpac\nowner:gpac\nTitle : Argument parsing is incorrect on some cases\(...TRUNCATED) | 2,655 | 128,784 | [0.003260488621890545,0.05630812421441078,-0.022786453366279602,0.012568777427077293,-0.025048833340(...TRUNCATED) |
[
"gpac",
"gpac"
] | "Hello, I have tried searching the issues for a potential solution.\r\n\r\nI am recording individual(...TRUNCATED) | Unable to use a sequence of JPEG images/frames to convert to .AVI or similar | https://api.github.com/repos/gpac/gpac/issues/2846/comments | 2 | 2024-05-25T01:07:16 | 2024-05-27T08:59:06 | https://github.com/gpac/gpac/issues/2846 | 2,316,527,045 | 2,846 | "This is a GitHub Issue\nrepo:gpac\nowner:gpac\nTitle : Unable to use a sequence of JPEG images/fram(...TRUNCATED) | 1,822 | 128,785 | [-0.032522302120923996,0.037864260375499725,-0.018350880593061447,0.005321201868355274,-0.0101234307(...TRUNCATED) |
[
"gpac",
"gpac"
] | "Although gpac handled well heic images, and gives extensive documentation on image extraction, no i(...TRUNCATED) | Transcoding or decoding multi-PID heic images | https://api.github.com/repos/gpac/gpac/issues/2845/comments | 1 | 2024-05-24T11:24:18 | 2024-05-27T11:18:41 | https://github.com/gpac/gpac/issues/2845 | 2,315,157,218 | 2,845 | "This is a GitHub Issue\nrepo:gpac\nowner:gpac\nTitle : Transcoding or decoding multi-PID heic image(...TRUNCATED) | 675 | 128,786 | [-0.04219648241996765,0.04688498005270958,-0.017376746982336044,-0.01749395951628685,-0.009069313295(...TRUNCATED) |
[
"gpac",
"gpac"
] | "As described in https://github.com/shaka-project/shaka-player/issues/5782\r\nIf we don't add the CL(...TRUNCATED) | Not setting CLOSED-CAPTIONS to none brings problems with subtitles in Apple HLS | https://api.github.com/repos/gpac/gpac/issues/2844/comments | 3 | 2024-05-23T22:31:05 | 2024-05-27T15:26:38 | https://github.com/gpac/gpac/issues/2844 | 2,313,964,433 | 2,844 | "This is a GitHub Issue\nrepo:gpac\nowner:gpac\nTitle : Not setting CLOSED-CAPTIONS to none brings p(...TRUNCATED) | 631 | 128,787 | [0.0009438399574719369,0.02236763760447502,-0.021667281165719032,0.05095094069838524,0.0041218902915(...TRUNCATED) |
[
"gpac",
"gpac"
] | "Thanks for reporting your issue. Please make sure these boxes are checked before submitting your is(...TRUNCATED) | Support live subtitles stream from transport stream | https://api.github.com/repos/gpac/gpac/issues/2843/comments | 0 | 2024-05-23T15:51:17 | 2024-05-23T15:51:17 | https://github.com/gpac/gpac/issues/2843 | 2,313,269,517 | 2,843 | "This is a GitHub Issue\nrepo:gpac\nowner:gpac\nTitle : Support live subtitles stream from transport(...TRUNCATED) | 2,997 | 128,788 | [-0.00940144993364811,0.04312591999769211,-0.020386798307299614,-0.0020033949986100197,-0.0111264865(...TRUNCATED) |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 12