Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when MultiColumnWizard reaches 7 rows #117

Open
jxns opened this issue Nov 12, 2021 · 2 comments
Open

Bug when MultiColumnWizard reaches 7 rows #117

jxns opened this issue Nov 12, 2021 · 2 comments

Comments

@jxns
Copy link

jxns commented Nov 12, 2021

Description

I created an own DCA table. One of the fields is a MultiColumnWizard with 4 columns:

'datasheet_data' => array
    (
      'label'                   => $GLOBALS['TL_LANG']['tl_products']['datasheet_data'],
      'inputType'               => 'multiColumnWizard',
      'eval'                    => array(
        'columnFields' => [
          'headline_de' => [
              'label'     => $GLOBALS['TL_LANG']['tl_products']['datasheet_data']['headline_de'],
              'inputType' => 'textarea',
              'mandatory' => true,
              'eval'      => ['mandatory' => false, 'allowHtml' => false, 'style' => 'width: 100%; resize: none;'],
          ],
          'headline_en' => [
              'label'     => $GLOBALS['TL_LANG']['tl_products']['datasheet_data']['headline_en'],
              'inputType' => 'textarea',
              'mandatory' => true,
              'eval'      => ['mandatory' => false, 'allowHtml' => false, 'style' => 'width: 100%; resize: none;'],
          ],
          'data_de' => [
              'label'     => $GLOBALS['TL_LANG']['tl_products']['datasheet_data']['data_de'],
              'inputType' => 'textarea',
              'mandatory' => true,
              'eval'      => ['mandatory' => false, 'allowHtml' => false, 'style' => 'width: 100%; resize: none;'],
          ],
          'data_en' => [
              'label'     => $GLOBALS['TL_LANG']['tl_products']['datasheet_data']['data_en'],
              'inputType' => 'textarea',
              'mandatory' => true,
              'eval'      => ['mandatory' => false, 'allowHtml' => false, 'style' => 'width: 100%; resize: none;'],
          ]
        ], 'style' => 'max-width:100%'
      ),
      'sql'               => "blob NULL"
    ),

This was working fine for a long time. I recently updated to Contao 4.12.3.
Now, as soon as the MultiColumnWizard reaches 7 rows (doesn't matter if empty or with content), I cannot edit the record anymore.
When clicking the edit-button, instead of opening the record, it just downloads a "contao" file with 0kB.
If I manually delete the database entry, the record is working again until the MultiColumnWizards exceeds the mentioned limit.

** Expected Workflow **

  1. Create a record, fill all entrys and insert data to the MultiColumnWizard
  2. Save the record
  3. If I need to change the data I click on the edit button in the backend and get back to the fields of the DCA

** Current workflow **

  1. Create a record, fill all entrys and insert data to the MultiColumnWizard
  2. Save the record
  3. If I need to change the data I click on the edit button but the page does nothing and just downloads a 0kB "contao" file.
@fritzmg
Copy link
Contributor

fritzmg commented Nov 12, 2021

When clicking the edit-button, instead of opening the record, it just downloads a "contao" file with 0kB.

That sounds like an issue with a security feature in your hosting environment may be.

@jxns
Copy link
Author

jxns commented Nov 12, 2021

Do you have any suggestions how to identify the issue? How would you proceed here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants