- Create a message with 2 images.
- Save
- Edit and add 2 more images.
- Click Save.
- Still only 2 images are shown
However, in the source, there are 4 images:
Clicking Edit
and Save
again fixes the issue.
Js error
Debugger shows this:
Failed to load resource: the server responded with a status of 422 (Unprocessable Entity)
Logs
There is an error in logs:
create_errors_json called with unrecognized type: #<Topic id: 51, title: "Выбери себе аватарку! - ЧЕРНОВИК", last_posted_at: "2014-11-23 19:49:12", created_at: "2014-11-23 19:49:12", updated_at: "2014-11-23 19:49:12", views: 4, posts_count: 1, user_id: 1, last_post_user_id: 1, reply_count: 0, featured_user1_id: nil, featured_user2_id: nil, featured_user3_id: nil, avg_time: 16, deleted_at: nil, highest_post_number: 1, image_url: "/uploads/default/61/22b66a65f8cdd516.png", off_topic_count: 0, like_count: 0, incoming_link_count: 0, bookmark_count: 0, star_count: 0, category_id: 4, visible: true, moderator_posts_count: 0, closed: false, archived: false, bumped_at: "2014-11-25 09:35:43", has_summary: false, vote_count: 0, archetype: "regular", featured_user4_id: nil, notify_moderators_count: 0, spam_count: 0, illegal_count: 0, inappropriate_count: 0, pinned_at: nil, score: 1.6, percent_rank: 0.652173913043478, notify_user_count: 0, subtype: nil, slug: "vyberi-sebe-avatarku-chernovik", auto_close_at: nil, auto_close_user_id: nil, auto_close_started_at: nil, deleted_by_id: nil, participant_count: 1, word_count: 44, excerpt: "Совы-долгожители\n\n[image] [image]", pinned_globally: false, auto_close_based_on_last_post: false, auto_close_hours: nil>
P.S. I'm not sure how is the best way to share the backtrace of the error.
Can make an admin account for anyone from Discourse team and share the backtrace link with full details, i.e.: http://forum.kozovod.com/logs/show/6e76fb4f3599eb00a2c7b4e486a35cc8