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

Error when opening DocType Configuration Item #11

Closed
wojosc opened this issue Oct 18, 2019 · 9 comments
Closed

Error when opening DocType Configuration Item #11

wojosc opened this issue Oct 18, 2019 · 9 comments
Labels
bug Something isn't working

Comments

@wojosc
Copy link
Contributor

wojosc commented Oct 18, 2019

grafik

@wojosc wojosc added the bug Something isn't working label Oct 18, 2019
@joelios
Copy link
Collaborator

joelios commented Oct 18, 2019

Cause:
The dashboard of doctype "Configuration Item" tries to find all related tasks (doctype Task). I guess you had (when you were still on V11) a customfield "Configuration Item" in the doctype "Task". this seems to be missing, which is why the sql query from the "Configuration Item" dashboard causes this error.

Solution:
Recreate the custom link-field "Configuration Item" in the doctype "Task".

@wojosc
Copy link
Contributor Author

wojosc commented Oct 18, 2019

We also have the "IT Management Table" in the DocType Task. This is still implemented in v12 also. In v11 we used to have another table called "Task Checklist" this has been deprecated and not user anymore. Is it maybe this?

@joelios
Copy link
Collaborator

joelios commented Oct 18, 2019

The error is clearly caused by the dashboard of the doctype "Configuration Item". I had the same error earlier on my test system too, since I set this up anew and therefore of course had no custom link field to doctype "Configuration Item" on the doctype "Task". I suspect during the update from V11 to V12 this customization was lost.

@joelios
Copy link
Collaborator

joelios commented Oct 18, 2019

To prevent this error from occurring again, I recommend exporting the customizations to the "IT Management"-App. Then this error does not occur again in a future update or during a new installation.

@barredterra
Copy link
Contributor

barredterra commented Oct 21, 2019

A solution would be to add 'Task': 'dynamic_name' under non_standard_fieldnames in configuration_item_dashboard.py.

This way the Config Item's dashboard picks up entries from the Task's IT Management Table.

@joelios
Copy link
Collaborator

joelios commented Oct 24, 2019

solved with 'Task': 'dynamic_name' under non_standard_fieldnames in configuration_item_dashboard.py

@joelios joelios closed this as completed Oct 24, 2019
@joelios joelios removed their assignment Oct 24, 2019
@wojosc wojosc reopened this Nov 4, 2019
@wojosc
Copy link
Contributor Author

wojosc commented Nov 4, 2019

grafik

Bitte noch einmal drüber schauen und das beheben. Danke.

@wojosc wojosc assigned wojosc and joelios and unassigned wojosc Nov 4, 2019
@wojosc
Copy link
Contributor Author

wojosc commented Nov 5, 2019

@lasalesi
Copy link
Contributor

lasalesi commented Nov 5, 2019

Hotfix PR #31

@dottenbr dottenbr added this to To do in March Release Feb 28, 2020
@joelios joelios removed their assignment Mar 6, 2020
@wojosc wojosc removed this from To do in March Release Mar 13, 2020
@majubewi majubewi closed this as completed Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants