Group and file_upload (AND clone) : only 1st file_upload is considered

Support MB Group Group and file_upload (AND clone) : only 1st file_upload is considered

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #3139
    SinusiteSinusite
    Participant

    Hi,
    bug since 4.8.6 : save only the first file

    array(
        'name' => 'Files',
        'id' => 'file_redac',
        'type' => 'group',
        'clone'  => true,
        'sort_clone' => false,
        
        'before' => '<div id="file_redac">', // ID should same as this field id
    	'after'  => '</div>',		            
    	// Sub-fields
    	'fields' => array(
        	array( 'name' => '', 
            		'id' => "_cons_file",
            		'type' => 'file_upload', // plupload_image
            		'max_file_uploads' => 1,
            		'force_delete'=> true,                			
    		),
    			                
    	),
    ),
    #3142
    Anh TranAnh Tran
    Keymaster

    Thanks for reporting. We'll check the Group extension again with file_upload field and get back to you asap.

    #3167
    NamennajNamennaj
    Participant

    This is happening to me too. Just a note, I updated the main meta box plugin today. It seems to have broken my groups plugin.

    #3168
    NamennajNamennaj
    Participant

    Just an extra note. This is how I fixed it:

    I deleted my existing extensions. Downloaded them again from the website and reinstalled them. This seems to have fixed the problem.

    Any change we can get an auto-update for extensions if you update the main plug-in?

    #3177
    Anh TranAnh Tran
    Keymaster

    @Namennaj: Please install the Meta Box Updater extension and follow the instruction to have auto update functionality.


    @Sinusite
    : Do you still see the same bug after updating both Meta Box and Group extension?

    #3180
    NamennajNamennaj
    Participant

    @rilwis Thanks for the info on the Meta Box Updater.

    #3202
    SinusiteSinusite
    Participant

    Waiting for the 4.8.7 :p
    (I tried to replace with the new group extension, file and file upload but it doesn't worked)

    #3204
    Anh TranAnh Tran
    Keymaster

    Hi @Sinusite: I've added a fix on Github, can you please try that version?

    #3221
    jonwatson87jonwatson87
    Participant

    Same issue - group will only save one record. Any new records added just replace the first one.

    Whereabouts is the new code on GitHub?

    #3319
    SinusiteSinusite
    Participant

    Hi,
    I have upgraded Meta Box (4.8.7) and Group extension (1.1.2) without success with "file type" (OK for file_advanced or file_upload, but they don't work on iPad...),

    array(
    	'name' => 'Fichier(s)',
    	'id' => 'file_redac',
    	'type' => 'group',
    	'clone'  => true,
    	'sort_clone' => false,
    					
    	'before' => '<div id="file_redac">', // ID should same as this field id
    	'after'  => '</div>',		            
    	// Sub-fields
    	'fields' => array(
    		array( 'name' => '', 
    				'id' => "_cons_file",
    				'type' => 'file', 
    				'max_file_uploads' => 1,
    				'force_delete'=> true,                			
    		),
    		array( 'name' => 'Légende', 
    				'id' => "_cons_legend",
    				'type' => 'text',
    											
    		),
    	),
    #3344
    Anh TranAnh Tran
    Keymaster

    Hi, I see you closed this issue on Github. So I will close this thread now. We'll track the issue with iPad on Github 🙂

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Group and file_upload (AND clone) : only 1st file_upload is considered’ is closed to new replies.