Check out this ladder. The curved railing along the top did not attach, and was unstable for use. It could technically be used as a support, but anyone expecting it to be sturdy might be in for a drop dead funny surprise.

are you aware of any codes about this? I could not locate any particular to this issue.