You would think the 787 would have been a learning experience. Despite it's rocky start it is a very popular plane now and bringing in a lot of cash for Boeing. The battery problem was really all down to making sure that it was done right. They instead decided to assume the batteries from the supplier were all perfect and caused themselves a lot of needless pain.