You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Marianne Hagaseth <Ma...@marintek.sintef.no> on 2016/04/07 20:45:43 UTC

RE: Any experiences of the Summernote add-on and problems with updating?

Hi!
More details on the problem of editing objects which have a field annotated with Summernote: 
The saving fails when pressing the OK-button when Editing. UPDATE is not done as it should in the correct situation when pressing OK. However, The following is done: INSERT INTO interpretationtest (plainregulationtext,requirement,target,version) VALUES (<'tesestsdt'>,<null>,<null>,<1>)

Everything works fine when just creating an instance: http://i.imgur.com/NT2hTPo.png  . Saving does not work: http://imgur.com/a/jg2b5 


(Yes, using @PropertyLayout(hidden=Where.ALL_TABLES) is great to hide columns in tables.)


Med vennlig hilsen / Best regards,
Marianne Hagaseth 
Forsker – Maritime transportsystemer
Research Scientist – Maritime Transport Systems
 
MARINTEK (Norsk Marinteknisk Forskningsinstitutt AS)
Address:  POB 4125 Valentinlyst, NO-7450 Trondheim, Norway
Mobile:   +47 90 95 64 69 -  Phone: +47 464 15 000
Web:       www.marintek.sintef.no

-----Original Message-----
From: Dan Haywood [mailto:dan@haywood-associates.co.uk] 
Sent: 30. mars 2016 20:52
To: users
Subject: Re: Any experiences of the Summernote add-on and problems with updating?

Hi Marianne,

Sorry no-one got back to you on this before now.

To help us help you, could you provide a simple example app up on github which will demonstrate the problem?

Do though be aware that none of the fields are editable when rendered in a list/collection.  It might be (I'm guessing here) that the summernote component is incorrectly showing itself as read/write, when it ought to be rendered read-only, As a workaround, as I'm sure you probably know, you can make exclude properties in columns using @PropertyLayout(hidden=Where.ALL_TABLES).

Also, note that images/attachments get stripped off the ASF mailing lists.
Instead, upload the image, eg to imgur.com, and paste in a link to it instead.  Or, raise a JIRA ticket and attach a screenshot to that.

Thx
Dan