my problem similar this: cq5: 403 forbidden occurs when call post servlet in aem 6.1 according accepted answer of above topic, must remove post apache sling referrer filter. wonder if action harmful system? , have better way fix issue? p/s: sorry english. if testing code on author mode, 403 forbidden error request. requires csrf token. or can declare dependency granite.csrf.standalone before can use framework. on publish should work fine.
in controller, after reprioritizing "child", lists children in new order: @child.parent.children.sort_by{|g| g.priority } this, surprisingly, doesn't work: @child.parent.children.order(priority: :asc) why doesn't .order work? instead of sorting correctly, it's sorting previous order before operation run, assume it's using cached results (the query run before in operation). how 1 bust cache, if indeed problem? i've tried @child.reload after reprioritizing no avail. if have ordering on children association might try use reorder apply new ordering: @child.parent.children.reorder(priority: :asc)
News 13 new results for facebook Researcher: Facebook Ignored The Bug I Found Until I Used It To Hack ... San Francisco Chronicle Facebook has a bounty program where it pays people to report bugs instead of using them or selling them on the black market. In this case, instead of fixing the bug and paying the researcher the $500+ fee, Facebook told him "this was not a bug ... See all stories on this topic » Facebook tip leads to arrest in Cal riot vandalism San Jose Mercury News Updated: 08/18/2013 11:00:17 AM PDT. HUNTINGTON BEACH, Calif.—Authorities in a Southern California beach community tracked down a suspected vandal after police say he "liked" photos of damaged patrol cars on the department's Facebook page. See all stories on this topic » Facebook tests tool for mobile payments Sky News Australia Facebook plans to test a new service aimed at making it easier for users to make purchases on their mobile devices. The social networking sit...
Comments
Post a Comment