Image link breaking wordpress media URL's

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

Nobody has claimed this yet.

Assessment

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

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.

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
    },
]



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

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.

More from woocommerce/wc-api-python

All issues in woocommerce/wc-api-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.