Closed wezell closed 11 years ago
@dotjorgeu as we discussed checkout WIll's branch and solve as we discussed
those are the classes / methods that might return something different to the value got from hibernate and in consequence forcing an update
Inode. getInode getIdentifier
UserProxy. setMailSubscription setNoclicktracking setLastMessage setLastResult setUserId setPrefix setSuffix setTitle setSchool setGraduation_year setCompany setHowHeard setLongLivedCookie setWebsite setGraduationYear setOrganization setVar1..setVar25
WebAsset. setFriendlyName getOwner
Folder. getInode(stupid)
Field. getValues
Structure. getFolder getHost
VirtualLink. getInode
Container. getInode
Contentlet. getInode
File. getInode
HTMLPage. getInode
Link. getInode getUrl
Template. getInode
WorkflowMessage. getInode
Tree. getParent getChild
Language. setCountryCode setLanguageCode
ClickStream. setUserAgent
ClickStreamRequest. setRequestURI
ClickStream404. setRequestURI setRefererURI setQueryString
Rating. setRating
Identifier. getId setId
In most cases the method getInode
isn't a big deal.
ran timemachine and the only update operations are permission_reference inserts. no update sql
@DeanGonzalez @bryanboza @prasadbhvn
This needs to be tested really well. I am thinking a few days or so. What I can do is describe what we generally changed. We altered the way new objects get created for Links, Structure Fields, and Containers. Also effected is the owner of all objects.
In general we need to edit a bunch of objects. Create new ones. Edit old ones.
For containers leave no notes, add notes, edit notes, Remove notes. But we need a good vetting through of the UI
Fixed, tested in the latest release and works fine
We have multiple places in our code that forces hibernate to update after selecting. We have seen this behavior on multiple tables: inode, fields, containers. This behavior was locking during push publishing while a site search was running on an Oracle db. I can reproduce the behavior on MySQL - on the "containers.notes" field. I think we need to check all of or models: