Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LicensePlan creation fails #4108

Closed
Comoque1 opened this issue Jun 17, 2024 · 1 comment
Closed

LicensePlan creation fails #4108

Comoque1 opened this issue Jun 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working server

Comments

@Comoque1
Copy link
Member

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://localhost:3000/graphql
  2. Perform the following mutation
mutation createLicensePlan($planData: CreateLicensePlanOnLicensingInput!) {
  createLicensePlan(planData: $planData) {
    id
    enabled
    isFree
    name
    pricePerMonth    
    requiresContactSupport
    requiresPaymentMethod
    sortOrder
    trialEnabled
  }
}
{
  "planData": {
    "licensingID": "97f798ed-254a-4a31-a2c4-89a7e344f7ff",
    "name": "tes2t"    
  }
}
  1. Error is thrown: "message": "Field 'licenseCredential' doesn't have a default value",
  2. See error

image.png

Expected behavior
License plan is created successfully.

@Comoque1 Comoque1 added bug Something isn't working server labels Jun 18, 2024
@ccanos ccanos self-assigned this Jul 3, 2024
@Comoque1
Copy link
Member Author

Comoque1 commented Jul 9, 2024

Tested OK on DEV env.
image.png

image.png

@Comoque1 Comoque1 closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server
Projects
None yet
Development

No branches or pull requests

2 participants