FluidTYPO3 / vhs

TYPO3 extension VHS: Fluid ViewHelpers
https://fluidtypo3.org
Other
189 stars 228 forks source link

Saving Elements in flux columns creates wrong colpos values #1568

Closed tim-baecker closed 5 years ago

tim-baecker commented 5 years ago

Hey everyone

I encountered a problem with flux powered content elements, nested in flux grid elements.

For clarity I created this very simple element

<f:layout name="Content" />  

<f:section name="Configuration">  
     <flux:form id="hm_gridtest" description="Testing Flux Grid" label="Grid Test">  
         <flux:grid>  
             <flux:grid.row>  
                 <flux:grid.column colPos="77" label="Testcontainer" name="testcontainer">  

                 </flux:grid.column>  
             </flux:grid.row>  
         </flux:grid>  
     </flux:form>  
</f:section>  

<f:section name="Preview"></f:section>  

<f:section name="Main"></f:section>

Now if i create an Element inside this container it does not set the correct colpos (instead, the colpos value is 1).

If i use drag&drop to place it into the container, the colpos is set correctly (but it gets overwritten with 1 if i ever save the nested element)

Also, when editing the element placed inside the container the value in the colpos field is already wrong (while the value in the tt_content is still correct)

image

I'm using the following TYPO3 and Extension versions: TYPO3 9.5.4 fluidpages 4.3.0 (latest from github) flux 9.1.0 (latest from github) vhs 5.1.1

Any ideas on why that happens?

tim-baecker commented 5 years ago

Oops, i created this issue in vhs, instead of flux, I will reopen it in flux repository.