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

ReadOnly Constraint Prevents Editing of Nodes from Web Studio UI #7211

Closed
petermo13 opened this issue Mar 2, 2017 · 2 comments
Closed

ReadOnly Constraint Prevents Editing of Nodes from Web Studio UI #7211

petermo13 opened this issue Mar 2, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@petermo13
Copy link

petermo13 commented Mar 2, 2017

OrientDB Version:

Studio version : 2.2
OrientDB version : 2.2.13

Java Version:

java version "1.8.0_121"

OS:

Windows 7

Expected behavior

Edit Node Values & Commit

Actual behavior

Looks like it works, but it does not after refresh of screen.

Steps to reproduce

CREATE PROPERTY V.creationDT Datetime (DEFAULT sysdate(), READONLY TRUE);

Create a subclass of V

CREATE CLASS Group EXTENDS V;
CREATE PROPERTY Group.groupName STRING;
CREATE PROPERTY Group.description STRING;

Create and Edit a Node of Group using the "Graph" Tab from Web Studio using the GUI

It will look like it works at first.
Remove the Node from the screen, or simply clear the Canvas.
Click the "Browse" Tab and then come back to the "Graph" Tab.
select from v;
You will notice the data has not changed, and no error message was given.

if you try to edit the node from the "Browse" tab, it will throw an error saying that since creationDT field was set to readonly, we cannot edit any other fields, which is a problem.
readonlyerror

That is also another bug i think.

Thanks

@wolf4ood
Copy link
Member

hi @petermo13

i did reproduce it. Seems that it's a problem of the http layer.
I will let you know

Thanks

@tglman
Copy link
Member

tglman commented Mar 27, 2017

Hi,

Fixed closing.

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

No branches or pull requests

4 participants