Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 6, 20232 yr Dear IPS support, I have found a bug in context of the attachment claiming. IPS 4.7.9 installed, all hooks disabled. ------- Repro steps: Login with user 1 (user) Create a new topic Add an attachment, for example a picture, to the post Leaf the title empty Try to save the new topic => Error, because of missing field (Topic should not be saved) Logout user 1 (user) Login with user 2 (root) Create a new topic (same forum as before) Add an attachment, for example a picture, to the post Leaf the title empty Try to save the new topic => Error, because of missing field Fill in a title Save the new topic Result: The topic iteself is created correct In the activity stream the post is displayed wrong! The picture of user 1 is assigned to the post of user 2. Technical analyze: The temp key in core_attachments_map is a md5 hash based on the same input string. The string is more or less constant for a forum and doesn't contain a session or user id. The two screenrecording are showing the bug. Scenario with 2 pictures 2023-05-06 19-49-34.mp4 Scenarion with only one picture 2023-05-06 19-58-05.mp4 Please have a look with high priority. My community has already many posts with inconsistant attachments 😥 Edited May 6, 20232 yr by derpunker
May 8, 20232 yr Community Expert Are you stating that this happens with other users in real life terms? I.E., not logging in/out of accounts on the same machine.
May 8, 20232 yr Author Yes, this happens with different users in real life too. We have observed this bug a couple of times in our community with normal user accounts and it took some time to understand the scenario. In this video a VM and the Host itself is used. Please ignore the license warning, this is only because of not using localhost. 2023-05-08 22-28-42.mp4 The repros steps are really simple, please try it out by yourself @Jim M
May 8, 20232 yr Community Expert Please be advised I have tagged a developer to review your claims here.
May 8, 20232 yr Author Reproduced in your live community. 2023-05-08 22-46-49.mp4 @Jim M Edited May 8, 20232 yr by derpunker
May 15, 20232 yr Community Expert Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
June 8, 20232 yr Community Expert We have taken a look at this, and its quite an involved fix which would need to be done in a major release. We do have this noted to be resolved at that point, but its not something you are going to see any time in minor releases like this.
June 8, 20232 yr Author That was not the answer I was hoping for. 🤒 Can you please give an estimate when to expect a resolution? The error is really annoying and we have to check every new topic manually for wrong attachments.
June 8, 20232 yr Community Expert 5 minutes ago, derpunker said: That was not the answer I was hoping for. 🤒 Can you please give an estimate when to expect a resolution? The error is really annoying and we have to check every new topic manually for wrong attachments. Im unable to give an estimate at present, other than to say it will be something addressed in a major release.