salesagility / SuiteDocs

SuiteCRM - Open source CRM for the world
https://docs.suitecrm.com/
Other
60 stars 287 forks source link

Update Customization.adoc #656

Closed kunanSA closed 3 months ago

pgorod commented 4 months ago

I thought that you created the file in custom/Extension/application/Ext/Api/V8/

and then the Quick Repair and Rebuild would move it to custom/application/Ext/Api/V8/

am I wrong?

kunanSA commented 4 months ago

I thought that you created the file in custom/Extension/application/Ext/Api/V8/

and then the Quick Repair and Rebuild would move it to custom/application/Ext/Api/V8/

am I wrong?

The repair does not move the files to the specified folder and does not alter them if you create them in custom/application/Ext/Api/V8/. I don't know if it's a bug or it was always like this

pgorod commented 4 months ago

What happens if you place the files in custom/Extension and run the QR&R?

If it works, since that is the regular way of doing things, I believe that's what we should be recommending in the docs.

kunanSA commented 4 months ago

What happens if you place the files in custom/Extension and run the QR&R?

If it works, since that is the regular way of doing things, I believe that's what we should be recommending in the docs.

If I attach the files in custom/extension and repair. This does nothing as I mentioned above. If you try to consult the V8 api, the custom one. This always causes a 404 status. Looking into the V8 API core, it has everything pointed to custom/application. Therefore, it generates a lot of confusion when consulting the documentation. The correct thing would be that when repairing, the custom/extension files should be copied to custom/application, but it does not happen. I was able to confirm this in all versions of suitecrm from 7.9 to 7.13.4

serhiisamko091184 commented 4 months ago

Hello @kunanSA,

thanks for contributing to the SuiteCRM project!

Regards, Serhii