question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`issingle` isn't a mandatory field available, so changing any doctype that doesn't contain this field throws error.

See original GitHub issue

Description of the issue

Basically the title. I found 2 instances in base_document.py.

I am already fixing these small bugs in our fork. So, if a PR is accepted, can push one.

Context information (for bug reports)

Output of bench version

(paste here)

Steps to reproduce the issue

Observed result

Expected result

Stacktrace / full error message

(paste here)

Additional information

OS version / distribution, Frappe install method, etc.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Abhirup-99commented, Sep 12, 2022

@ankush that’s the trace while running bench --site abc.localhost migrate.

0reactions
ankushcommented, Sep 27, 2022

This is probably a deeper bug. We by default strip 0 values from JSON files, so adding it won’t help much. Not sure why meta is not properly initialized here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django REST Framework serializer field required=false
I am still getting error when saving the record. class FavoriteListSerializer(serializers.ModelSerializer): owner = serializers.IntegerField( ...
Read more >
"Mandatory field is missing" in SIS version 2 (more technical ...
When loading student information files there are errors such as: "Mandatory field is missing: email type." This occurs when testing version ...
Read more >
dml - Checked required fields, still getting an error that a ...
The label for the Account is Account Name, the API name is just Account, and there is no other field it could be,...
Read more >
Trading Network Messages - Software AG Documentation
In webMethods Trading Networks, when you try to import a file and it does not contain valid data according to the type format,...
Read more >
Chapter 3 – Medicare Marketing Guidelines - CMS
An intermediate entity, such as a “Field Marketing Organization” (FMO) or similar type entity that has been retained to sell a plan's Medicare...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found