cancel
Showing results for 
Search instead for 
Did you mean: 

Odata V4 create entity error "Failed to drill-down into ..."

former_member705369
Discoverer

Hello,

i create a object with the odata v4 model with a custom updateGroupId and "autoExpandSelect=true", then i save the created object with "submitBach". Everything looks nice, the post request is successfully executed.

As normally, on the list binding the refresh method is called and the list items are refreshing. This leads to the error "Failed to drill-down into KddietzTour($uid=id-1601545119198-33)/KddietzTourMitarbeiter, invalid segment: KddietzTourMitarbeiter".

My code looks like this:

<Title textAlign="Center"
       class="sapUiTinyMargin"
       text="{path: 'kddietz>DDate', type: 'sap.ui.model.odata.type.DateTimeOffset', formatOptions: { pattern: 'EEEE dd.MM.yyyy'}} {path: 'kddietz>SDienstartTyp', formatter: '.dienstartTypFormatter'}"
       width="100%" ></Title>

<HBox wrap="Wrap" justifyContent="Center"
      id="wrapperTourenHBox"
      items="{path: 'kddietz>KddietzTour'}">
    <mvc:XMLView viewName="KDDietz.view.TourEdit"></mvc:XMLView>
</HBox>

The view "KDDietz.view.TourEdit" looks like this:

<mvc:View controllerName="KDDietz.controller.TourEdit"
          displayBlock="true"
          xmlns:mvc="sap.ui.core.mvc"
          xmlns="sap.m"
          xmlns:dnd="sap.ui.core.dnd"
          xmlns:layout="sap.ui.layout"
          xmlns:core="sap.ui.core"
          busyIndicatorDelay="500"
          xmlns:f="sap.ui.layout.form">
    <VBox class="sapUiTinyMargin vBoxTour"
          id="wrapperTour">
        <Table id="tableTourMitarbeiter"
               width="290px"
               backgroundDesign="Solid"
               items="{path: 'kddietz>KddietzTourMitarbeiter',templateShareable: false}"
               class="sapUiSizeCompact tableTourMitarbeiter">
            <headerToolbar>
                <OverflowToolbar height="30px">
                    <content>
                        <ToolbarSpacer/>
                        <Title id="tourTitle"
                               text="{kddietz>NDienstart/Bezeichnung}"/>
                        <ToolbarSpacer/>
                    </content>
                </OverflowToolbar>
            </headerToolbar>
            <columns>
                <Column width="55px"></Column>
                <Column width="235px"></Column>
            </columns>
            <items>
                <ColumnListItem id="columnListItemMitarbeiter" type="Active" press="onPressTourMitarbeiter">
                    <cells>
                        <CheckBox text="RB" valueState="Information" selected="{kddietz>BHasRb}"
                                  select="onChangeRbMitarbeiter"/>
                        <VBox>
                            <Input busyIndicatorDelay="500"
                                   valueHelpOnly="true"
                                   showValueHelp="true"
                                   value="{kddietz>GMitarbeiter/Nachname} {kddietz>GMitarbeiter/Vorname}"
                                   valueHelpRequest=".onValueHelpRequestMitarbeiter">
                            </Input>
                            <Text text="{kddietz>SNotiz}"
                                  textAlign="Center"
                                  visible="{path: 'kddietz>SNotiz', targetType: 'any', formatter: '.valueExistsFormatter'}"
                                  class="color-red"/>
                        </VBox>
                    </cells>
                </ColumnListItem>
            </items>
        </Table>
    </VBox>
</mvc:View>

The error happens on the "_Cache-dbg" class, method "fetchLateProperty".

Accepted Solutions (0)

Answers (0)