Closed GoogleCodeExporter closed 9 years ago
Most likely you have some document used in your package that is not at the
production level. Test like production uses only production level parts. If
it cannot find these as runtime, it will have issues.
I don't think we can catch all misconfigurations like these to prevent all
possible bugs as we don't want to litter our code with checks. But we should
be able to at least stop this exception during transaction setup. In the end,
you'll get an error of one type or another, and we generally don't leak
information about configurations errors to end users (those who fill out forms)
as they would not be able to address them or even understand what is wrong.
Original comment by yoz...@gmail.com
on 7 Apr 2014 at 7:14
Can't be entirely sure we fixed what you saw, but we did add more checks for
correct setup to help avoid null pointers. We can see this will happen if you
try to run as production (or test like production) and one of the documents has
no production level available. This should be fixed in 14.4.12.
Original comment by yoz...@gmail.com
on 7 Apr 2014 at 11:01
thank you! I of course know how to "troubleshoot" and fix the issue but the
average end-user may need a little reminder, "You have one or more components
that haven't been promoted to production!"
Original comment by theo...@megalithtechnologies.com
on 8 Apr 2014 at 12:36
Indeed. Such a reminder, though, will only be in the logs. Again, when
contracting with an outside party, we don't want them seeing messages about
"components" or "promoted to production" or the like in error messages. Also,
there are many reasons why something can fail due to misconfiguration, so the
logs will provide that detail for troubleshooting.
Original comment by yoz...@gmail.com
on 8 Apr 2014 at 4:12
Original issue reported on code.google.com by
theo...@megalithtechnologies.com
on 7 Apr 2014 at 6:36