Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove image button delete not image but attachment #9381

Open
didonna-roberto-acrmnet opened this issue Nov 30, 2021 · 2 comments
Open

Remove image button delete not image but attachment #9381

didonna-roberto-acrmnet opened this issue Nov 30, 2021 · 2 comments
Assignees
Labels
Type:Discussion Issues & PRs related to ongoing discussions

Comments

@didonna-roberto-acrmnet

This occurs when there is a form with an attachment and an image and when clicking on the image remove button

The image file should be removed from the server

But the attachment is the one to get deleted instead of the image.
On the server I can see these two files 981fecc2-e810-c26b-b3c8-61a523cd2817 and 981fecc2-e810-c26b-b3c8-61a523cd2817_image
The button to remove the image deletes the wrong file 981fecc2-e810-c26b-b3c8-61a523cd2817.
After saving the record if you click on the attachment link this error message will pop up "Invalid File Reference"

  1. Create a file module with image field
  2. Create a new record , upload image and attachment
  3. Edit record , remove image , save
  4. Click on attachment link and you receive "Invalid File Reference" error

With this problem i cannot deploy a working software on my server. For me the priority is High
I'm trying to create a workaround .....

  • SuiteCRM : Version 7.10.7
  • Browser : Chrome 96.0.4664.45
  • Environment : MariaDB , PHP 7
  • Operating System : Debian 9
@Mac-Rae
Copy link
Contributor

Mac-Rae commented Dec 2, 2021

Hi there,

I've been unable to replicate in newer releases such as the latest 7.10 version.

You appear to be using an outdated version, therefore I would suggest upgrading to the latest 7.10 version and installing a newer PHP version, 7.3 or 7.4. Let me know if you continue to experience these issues 👍

@Mac-Rae Mac-Rae added the Type:Discussion Issues & PRs related to ongoing discussions label Dec 2, 2021
@Mac-Rae Mac-Rae self-assigned this Dec 2, 2021
@didonna-roberto-acrmnet
Copy link
Author

Hi there ,
unfortunately same problem with PHP Version 7.3.11 + SuiteCRM Version 7.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Discussion Issues & PRs related to ongoing discussions
Projects
None yet
Development

No branches or pull requests

2 participants