When add a dynamic gets of Main Source :Custom or Joomla Database, I can't save with error message:
Save failed with the following error: Incorrect integer value: '' for column 'view_table_main' at row 1
Expected result
Actual result
Save failed with the following error: Incorrect integer value: '' for column 'view_table_main' at row 1
System information (as much as possible)
OS Name & Version: linux
MySql Version: 8.0
Apache Version: 2.4.61
PHP Version: 8.2
Joomla Version: 5.1.1
JCB Version: 5.0.1-alpha5
Browser: firefox 128.0
Additional comments
### Steps to reproduce the issue
When add a dynamic gets of Main Source :Custom or Joomla Database, I can't save with error message:
Save failed with the following error: Incorrect integer value: '' for column 'view_table_main' at row 1
### Expected result
### Actual result
Save failed with the following error: Incorrect integer value: '' for column 'view_table_main' at row 1
### System information (as much as possible)
- OS Name & Version: linux
- MySql Version: 8.0
- Apache Version: 2.4.61
- PHP Version: 8.2
- Joomla Version: 5.1.1
- JCB Version: 5.0.1-alpha5
- Browser: firefox 128.0
### Additional comments
With the latest release of JCB v5.0.4-alpha3 this issue has been fixed.
Having the latest JCB package installed, it should save successfully:
With the latest release of JCB [v5.0.4-alpha3](https://git.vdm.dev/joomla/pkg-component-builder/releases/tag/v5.0.4-alpha3) this issue has been fixed.
Having the latest JCB package installed, it should save successfully:

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Steps to reproduce the issue
When add a dynamic gets of Main Source :Custom or Joomla Database, I can't save with error message:
Save failed with the following error: Incorrect integer value: '' for column 'view_table_main' at row 1
Expected result
Actual result
Save failed with the following error: Incorrect integer value: '' for column 'view_table_main' at row 1
System information (as much as possible)
Additional comments
With the latest release of JCB v5.0.4-alpha3 this issue has been fixed.
Having the latest JCB package installed, it should save successfully:
