Skip to content

[Bug] 使用table的relativeHeadRowIndex()设置写入行偏移量时效果不对 #794

@32154678925

Description

@32154678925

Search before asking

  • I searched in the issues and found nothing similar.

Fesod version

1.3.0

JDK version

Microsoft OpenJDK 17.0.17

Operating system

Windows11 专业版 24H2

Steps To Reproduce

Image Image

Current Behavior

实际上第一个对象的数据头在第6行,数据从第12行开始
Image

Expected Behavior

预期第一个对象的数据头在第6行,数据从第7行开始
Image

Anything else?

在添加数据时,会初始化当前table
Image
在初始话当前table的时候会写入设置的head,并且从指定的偏移量开始,我这里是5,所以从第6行开始,这是对的
Image
紧接着在添加数据的时候,获取到了添加head之后的行数,7,这是对的,但是再一次获取了偏移量,导致了这个错误
Image

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions