Unable to make changes to Lead Search in studio

I am trying to add the the Date Created field to the list view when searching leads. The window in question comes up from events when selecting delegates > Leads… It’s hard to isolate a group of newly imported leads without this.

In studio, I’ve navigated to Leads > Layouts > Popup View > Popup ListView.

Here I see the field “Date Created” so I drag it over from “Hidden” to “Default”… Then I clock “Save and Deploy”. No errors. it says it saved and deployed. Then I go to events, open the event, click select delegates > Leads … the lead list does not have “Date Created” as a header…

I know I’m looking in the right place, because I tried changing the field name for “Name” to “Name…” and it updated fine… just missing the Date created section.

So I go back to the studio and check… the change reverted.

I’ve looked in the log file I’m aware of @ /var/www/suitecrm/logs/legacy/suitecrm.log … Nothing I would say related.

Any ideas?

update: I have discovered that if I make one change in the studio, then run a quick rebuild from admin, the change takes effect. If I make multiple changes (tried making 3 changes), only the last change will be applied… so… not sure where the problem could be.

What is your version? I fixed a bug recently that could be what you’re experiencing.

When you say you change three things in studio, what are you changing? Fields, or views, or…?

In my experience this issue occurs when there is an issue with the file permissions and the CRM is not able to write the files

sudo find . -type d -not -perm 2755 -exec chmod 2755 {} \;
sudo find . -type f -not -perm 0644 -exec chmod 0644 {} \;
sudo find . ! -user www-data -exec chown www-data:www-data {} \;
sudo chmod +x bin/console

These are commands to fix permissions on Ubuntu for SuiteCRM

Yes, permissions can be the problem, although that wouldn’t explain why it works once but not the other times…

This is the PR I made, if you want to try the changes manually you can test.