Some problems of parabolic type with discontinuous nonlinearities on convex constraints