Skip to content

Adding constraints to properties #517

Closed

Description

@aschoijett

ArcadeDB Version: 22.8.1

JDK Version:

OS: Windows 10 Pro

Expected behavior

Syntax for the CREATE PROPERTY and ALTER PROPERTY commands work as shown in the manual.
This is is not the case.

Actual behavior

CREATE VERTEX TYPE FirstVertex

  • works fine

CREATE PROPERTY FirstVertex.CreatedOn ( readonly true ) (or READONLY TRUE)

  • fails saying

Error on execution of the command. The property is created though.

Note that the same command typed without the constraint works fine
CREATE PROPERTY FirstVertexTtype.UpdatedOn DATETIME

A similar problem occurs with the ALTER PROPERTY command:
ALTER PROPERTY FirstVertexTtype.CreatedOn (READONLY true)

  • fails saying

Error o execution of the command. The property is not altered. I can change its value in a previously created vertex.

Note that there seems to be a similar discussion in #507 that was closed a few days ago, but I think the issue is still there.

Many thanks,

Activity

  1. self-assigned this
    on Oct 15, 2022
  2. lvca commented on Oct 15, 2022

    @lvca
    Member

    @aschoijett have you tried with a recent 22.9.1?

  3. added this to the 22.10.1 milestone on Oct 15, 2022
  4. aschoijett commented on Oct 16, 2022

    @aschoijett
    Author
  5. lvca commented on Oct 16, 2022

    @lvca
    Member

    Sorry to see you leaving, thanks for your contributions, and good luck with your projects.

  6. lvca commented on Oct 16, 2022

    @lvca
    Member

    I am closing this issue because unable to reproduce it. In case anybody is experiencing this issue again, please comment this issue to be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Sponsor
    SponsoredKunjungi sekarang
    Promo