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

Add test case: Estimated time is mandatory but accepts no inputs #174

Closed
xbln opened this Issue Jan 14, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@xbln

xbln commented Jan 14, 2018

Description of problem

Add test case fails because Estimated time field requires input in the form DDHHMM but accepts digits only; digits are refused.

Component (web, API, etc)

web

Version or commit hash (if applicable)

3.49-ee (untouched Mr. Senko docker image on digitalocean ubuntu 17.09)

How often reproducible

permanent

bugx1

@atodorov

This comment has been minimized.

Member

atodorov commented Jan 15, 2018

Thanks for the bug report. Please use the form at /cases/new/ instead of the admin interface.

Note: I will fix this by redirecting the Add button from admin to the same URL. Users should be entering objects via the Admin interface unless strictly required.

atodorov added a commit that referenced this issue Jan 15, 2018

Hide admin forms for some models. Fixes #174
Django admin uses generic, automatically generated forms for
the models. This is in conflict with the specialized add/edit
forms and views that are used for things like Test Plans for
example.

There are also models like TestCaseStatus and TestCaseRunStatus
whose records have special meaning inside the application and
should not be modified.

The special Sites object is used to configure the fully qualified
domain name of the running Kiwi instance and nothing more so we
redirect Add/Delete operations to the Edit operation for the
currently configured object.

atodorov added a commit that referenced this issue Jan 16, 2018

Hide admin forms for some models. Fixes #174
Django admin uses generic, automatically generated forms for
the models. This is in conflict with the specialized add/edit
forms and views that are used for things like Test Plans for
example.

There are also models like TestCaseStatus and TestCaseRunStatus
whose records have special meaning inside the application and
should not be modified.

The special Sites object is used to configure the fully qualified
domain name of the running Kiwi instance and nothing more so we
redirect Add/Delete operations to the Edit operation for the
currently configured object.

@atodorov atodorov closed this in bf2b495 Jan 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment