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

Flux section object omits data on first save #965

Closed
Chris-dev opened this issue Oct 14, 2015 · 5 comments
Closed

Flux section object omits data on first save #965

Chris-dev opened this issue Oct 14, 2015 · 5 comments

Comments

@Chris-dev
Copy link

TYPO3 7.5.0, all FluidTYPO3 extensions from the current development branch

In a Content Element (FCE), I use a Flux section with a repeatable object, which includes an image, a link and text / Input fields (for a slider element).

When creating a new object and saving it, only the image gets saved, but all data from the other fields is discarded. When filling them out a second time, the data gets saved.

@mkoehler2911
Copy link

#950

@Chris-dev
Copy link
Author

Thank you.
Setting inherit="0" on the section, object and fields didn't fix the problem.
Also the HTML of new elements seems to be nested correctly.

@cweiske
Copy link
Contributor

cweiske commented Nov 4, 2015

I have the same problem. Using inherit="0" as advised in #841 does not help.

Minimal example to reproduce the problem:

<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
     xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
     xmlns:flux="http://typo3.org/ns/FluidTYPO3/Flux/ViewHelpers">
  <f:layout name="Content" />

  <f:section name="Configuration">
    <flux:form id="test" options="{group: 'FCE'}">
      <flux:form.section name="settings.links" label="Links">
        <flux:form.object name="link" label="Link">
          <flux:field.input name="url" label="URL"/>
        </flux:form.object>
      </flux:form.section>
    </flux:form>
  </f:section>
</html>

I've opened a bug for TYPO3 core; https://forge.typo3.org/issues/71322 -
Flexform: section contents not saved on first save

@cweiske
Copy link
Contributor

cweiske commented Nov 6, 2015

Fixed in typo3 core. Please close.

@NamelessCoder
Copy link
Member

That's really good news - thanks for the update @cweiske!

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

5 participants