RE: Trac Issue Reporting NullPointerException - Klaros Test Management - Forum - Klaros-Testmanagement
RE: Trac Issue Reporting NullPointerException
Chris McKee, geändert vor 12 Jahren.
Trac Issue Reporting NullPointerException
Youngling Beiträge: 4 Beitrittsdatum: 24.10.12 Neueste Beiträge
Hello,
I'm wondering if anyone else has had issues with reporting issues using Trac as the issue management system. I was able to configure Klaros to use Trac and everything seemed to go OK, but I always get a NullPointerException when I try to report an issue using Trac.
I've read the other posts and I've checked to ensure that my XML-RPC permissions are allowed for 'anonymous' with no luck. Unfortunately, I haven't seen anyone else with the same problem in the forum so I'm out of ideas. I've attached server logs and screenshots to help anyone who might have suggestions.
Environment Information
Trac 0.12 (ps.polargeomatics.com/trac)
Klaros 3.6.12 build 212 (ps.polargeomatics.com:18080/klaros-web)
Thanks in advance,
Chris
I'm wondering if anyone else has had issues with reporting issues using Trac as the issue management system. I was able to configure Klaros to use Trac and everything seemed to go OK, but I always get a NullPointerException when I try to report an issue using Trac.
I've read the other posts and I've checked to ensure that my XML-RPC permissions are allowed for 'anonymous' with no luck. Unfortunately, I haven't seen anyone else with the same problem in the forum so I'm out of ideas. I've attached server logs and screenshots to help anyone who might have suggestions.
Environment Information
Trac 0.12 (ps.polargeomatics.com/trac)
Klaros 3.6.12 build 212 (ps.polargeomatics.com:18080/klaros-web)
Thanks in advance,
Chris
Torsten Stolpmann, geändert vor 12 Jahren.
RE: Trac Issue Reporting NullPointerException
Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Chris,
guessing from the stack trace - could it be that you have no versions defined yet in your trac project?
Hope this helps,
Torsten
guessing from the stack trace - could it be that you have no versions defined yet in your trac project?
Hope this helps,
Torsten
Chris McKee, geändert vor 12 Jahren.
RE: Trac Issue Reporting NullPointerException
Youngling Beiträge: 4 Beitrittsdatum: 24.10.12 Neueste Beiträge
Hi Torsten,
This was the problem but the solution isn't exactly what I was hoping for. The version field was disabled and not used in Trac because it is't a field that we're interested in. (We use a custom text field for build instead). Additionally, the milestone field is a field that we only allow project managers to set. Is it possible to configure Klaros to omit these fields from the submission template?
Thanks,
Chris
This was the problem but the solution isn't exactly what I was hoping for. The version field was disabled and not used in Trac because it is't a field that we're interested in. (We use a custom text field for build instead). Additionally, the milestone field is a field that we only allow project managers to set. Is it possible to configure Klaros to omit these fields from the submission template?
Thanks,
Chris
Torsten Stolpmann, geändert vor 12 Jahren.
RE: Trac Issue Reporting NullPointerException
Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Chris,
thanks for confirmation. It's clearly a bug that disabled version lists are not handled correctly, a fix will be available in version 3.7 (available next week) which also adds support for custom fields in Trac.
Regarding the assignment right for the milestone field we will have a look on the implemented behavior in the XML-RPC connector interface which will basically dictate if this setting will be honored correctly.
Regards,
Torsten
thanks for confirmation. It's clearly a bug that disabled version lists are not handled correctly, a fix will be available in version 3.7 (available next week) which also adds support for custom fields in Trac.
Regarding the assignment right for the milestone field we will have a look on the implemented behavior in the XML-RPC connector interface which will basically dictate if this setting will be honored correctly.
Regards,
Torsten
Chris McKee, geändert vor 12 Jahren.
RE: Trac Issue Reporting NullPointerException
Youngling Beiträge: 4 Beitrittsdatum: 24.10.12 Neueste Beiträge
Hi Torsten,
We actually use a combination of Trac plugins to hide the Milestone field for new tickets and then restrict edit ability to users who are of the "MANAGER" role. I think this scenario is too specific to reasonably expect Klaros to support. I can live with that, but I'm glad to hear that you are addressing the disabled version.
Thanks for all your help!
Cheers,
Chris
We actually use a combination of Trac plugins to hide the Milestone field for new tickets and then restrict edit ability to users who are of the "MANAGER" role. I think this scenario is too specific to reasonably expect Klaros to support. I can live with that, but I'm glad to hear that you are addressing the disabled version.
Thanks for all your help!
Cheers,
Chris
Torsten Stolpmann, geändert vor 11 Jahren.
RE: Trac Issue Reporting NullPointerException
Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi Chris,
Klaros 3.7 has now been released with support for custom issue fields in Trac.
Please let me know if this remedies your problem with the disabled version field.
Regards,
Torsten
Klaros 3.7 has now been released with support for custom issue fields in Trac.
Please let me know if this remedies your problem with the disabled version field.
Regards,
Torsten