medusajs / medusa

The world's most flexible commerce platform.
https://medusajs.com
MIT License
26.14k stars 2.64k forks source link

[Bug]: Deleting Shipping Profile with name in UTF8 Characters #10229

Open panalgin opened 4 days ago

panalgin commented 4 days ago

Package.json file

"dependencies": {
    "@instana/opentelemetry-exporter": "^3.19.0",
    "@medusajs/admin-sdk": "2.0.1",
    "@medusajs/cli": "2.0.1",
    "@medusajs/framework": "2.0.1",
    "@medusajs/medusa": "2.0.1",
    "@medusajs/test-utils": "2.0.1",
    "@mikro-orm/core": "5.9.7",
    "@mikro-orm/knex": "5.9.7",
    "@mikro-orm/migrations": "5.9.7",
    "@mikro-orm/postgresql": "5.9.7",
    "@opentelemetry/api": "^1.9.0",
    "@opentelemetry/auto-instrumentations-node": "^0.52.0",
    "@opentelemetry/exporter-collector": "^0.25.0",
    "@opentelemetry/exporter-metrics-otlp-grpc": "^0.54.0",
    "@opentelemetry/exporter-trace-otlp-grpc": "^0.54.0",
    "@opentelemetry/exporter-trace-otlp-http": "^0.54.0",
    "@opentelemetry/instrumentation-express": "^0.44.0",
    "@opentelemetry/instrumentation-http": "^0.54.0",
    "@opentelemetry/instrumentation-pg": "^0.47.0",
    "@opentelemetry/resources": "^1.27.0",
    "@opentelemetry/sdk-node": "^0.54.0",
    "@opentelemetry/sdk-trace-base": "^1.27.0",
    "@opentelemetry/sdk-trace-node": "^1.27.0",
    "@types/jest": "^29.5.13",
    "awilix": "^8.0.1",
    "axios": "^1.7.7",
    "body-parser": "^1.20.3",
    "class-transformer": "^0.5.1",
    "copyfiles": "^2.4.1",
    "date-fns": "^4.1.0",
    "dotenv": "^16.4.5",
    "jest": "^29.7.0",
    "jsonwebtoken": "^9.0.2",
    "jwks-rsa": "^3.1.0",
    "jwt-decode": "^4.0.0",
    "passport": "^0.7.0",
    "passport-jwt": "^4.0.1",
    "pg": "^8.13.0",
    "prop-types": "^15.8.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "reflect-metadata": "^0.2.2",
    "undici": "^6.20.1",
    "urlcat": "^3.1.0"
  },
  "devDependencies": {
    "@babel/core": "^7.25.2",
    "@babel/preset-env": "^7.25.4",
    "@babel/preset-typescript": "^7.25.7",
    "@medusajs/medusa-oas-cli": "2.0.1",
    "@medusajs/workflows-sdk": "2.0.1",
    "@mikro-orm/cli": "5.9.7",
    "@mikro-orm/core": "5.9.7",
    "@mikro-orm/migrations": "5.9.7",
    "@mikro-orm/postgresql": "5.9.7",
    "@swc/core": "1.5.7",
    "@swc/jest": "^0.2.36",
    "@types/jest": "^29.5.13",
    "@types/node": "^20.0.0",
    "@types/passport": "^1.0.16",
    "@types/passport-jwt": "^4.0.1",
    "@types/react": "^18.3.2",
    "@types/react-dom": "^18.2.25",
    "@typescript-eslint/eslint-plugin": "^8.8.0",
    "@typescript-eslint/parser": "^8.8.0",
    "babel-jest": "^29.7.0",
    "eslint": "^9.11.1",
    "eslint-config-prettier": "^9.1.0",
    "jest": "^29.7.0",
    "prettier": "^3.3.3",
    "ts-jest": "^29.2.5",
    "ts-node": "^10.9.2",
    "typescript": "^5.6.2",
    "vite": "^5.2.11"
  },

Node.js version

v20.18

Database and its version

PostgreSQL 16.2

Operating system name and version

Ubuntu 22

Browser name

Brave

What happended?

image

While deleting a shipping profile which has non standard latin characters like ö,ç,ş,ü, the above confirmation screen does not let "Delete" button to be enabled

Expected behavior

I think the delete button should be enabled after I've written the profile name exactly as is

Actual behavior

Delete button stays disabled

Link to reproduction repo

Sorry can't provide this

sradevski commented 4 days ago

Thanks, we'll have a look into it.