woocommerce / woocommerce/wc-api-python

Image link breaking wordpress media URL's

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
216
Forks
108
Avg merge
6h 34m
Merged PRs (30d)
1

Description

When I push product with images node which in src link contain media.n.
All attached Image ID's are being converted to unknown format.

Image

"images": [
    {
        "src": "https://4520456.app.netsuite.com/core/media/media.nl?id=6106485&c=4520456&h=xPmiNpBK2z_XwGIvoGJkpuy6OwybnLflX0m6gq3KTgO39VdU",
        "name": "Vortek VRP-501 Wheels | Gloss Black Center & Diamond Cut Ring With Dark Tint | 20X10 -18MM | 5x127"
    } ,
 {
        "id": 409558
    },
    {
        "id": 409559
    },
]



Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the JSON payload shown here, focusing on the NetSuite media.nl URL and the attached image IDs. Trace how image sources and IDs are converted during a product push, then verify that valid media URLs and image identifiers are no longer converted to an unknown format.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.