Combo Fields, Calendar Fields, JCB Package Import issues #1011
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1011
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce the issue
Fresh Install Joomla
Fresh Install JCB
Create a combo field, calendar field
Create an admin view
Assign combo field to admin view
Create a component, assign admin view to this component
compile with jcb
Also, I am unable to import ANY JCB package (neither my own, nor from JCB repository)
Expected result
Combo field value should be stored properly in database
Actual result
no matter whatever value i select, only "0" gets stored in the database.
Same is true for Calendar fields
System information (as much as possible)
Additional comments
Also, I am unable to import ANY JCB package. Neither public, nor with keys. Even I tried to export my own jcb package and tried to import it again, it simply doesn't work. It says import is successful, but nothing arrives in JCB.
I am aware of the JCB package import issue, it is due to an encryption issues which we are still working on.
As for the other issues, I have many components in JCB, and they all work perfectly as compiler testing with each step we have taken... which is weird since your having issues I just never have.
Have you tried the beta-version? https://git.vdm.dev/joomla-beta/pkg-component-builder/archive/master.zip
This is the tip of the development, and is currently what I am using in all my projects.
The import is not yet resolved, but all other known issues are actually been taken care of.
As a start I usually ask if you watched all the tutorials, and then we start debugging from there.
I have tried with master.zip and whenever I click on the "Components->My Component name->My view" it gives following error
with Version3.1.24, I have tried and Combo field is not working. The issue is that I am selecting the database field type as INT and my options are 0|Option 0,1|Option 1,2|Option 2.
What JCB is doing is that it is trying to store "Option 0" in the database (but the field is INT). As far as my understanding, the display value should be "Option 0", but the value which should be stored in the database should be 0 and for Option 1, the value which should be stored in the database should be 1 and so one.
If I change the database field type to VARCHAR, it starts storing the full text as "Option 0"... "Option 1"... As far as My understanding, It should store 1 for (1|Option 1) instead of storing "Option 1".
As I am unable to import any JCB package, otherwise it would have been quite easy for me to import any JCB package and see what happens with the combo field which I compile the code at my end.
Do you have all the component-builder plugins activated?
Yes, I have verified. All plugins are enabled
So in your component global options you have them activated?
We moved JCB to PHP 8 as this is the minimum version currently supported by Joomla official containers. Can you also move to PHP 8.0?
Export compiler and language packaging were not enabled. I have enabled them and it didn't make any difference. Still facing same issue.
I have upgraded to Php 8.0.30, still facing same issues with combo field
Please see the screenshots for the complete details how I configured a small test component and what issue actually I am facing. I hope it'll give you a complete picture about the issue which I am facing.
Here are some remarks:
I assume this is resolved, since no feedback for 3 weeks.