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

Unable to restore element from trash on page with cells #1425

Closed
jetsgit opened this issue May 6, 2018 · 3 comments
Closed

Unable to restore element from trash on page with cells #1425

jetsgit opened this issue May 6, 2018 · 3 comments

Comments

@jetsgit
Copy link

jetsgit commented May 6, 2018

I have a page with 2 cells. So in the admin I have 3 tabs on right side for 'Main Content', 'slide_gallery', and 'footer'. I have deleted an element from 'Main Content'. According to directions I should be able to drag and drop this element from trash to the 'element window'. This does not work. Restoring an element on a page with no cells does work.

Context

  • Alchemy CMS 3.4.1
  • Rails 4.2.6
  • Attempting to restore element from Trash
  • When in the Admin, I try to restore element to a page with 2 cells (thus 3 tabs).
    I am unable to restore element from trash by dragging into the open tab where it
    was deleted.

Gemfile

gem 'pg', '~> 0.20'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
# Adding Slim 
gem 'slim-rails',  git: 'https://github.com/slim-template/slim-rails.git'
gem 'haml'

# gem 'rolify'
gem 'cancancan', '~> 1.16.0', git: 'https://github.com/jetsgit/cancancan.git', branch: 'alchemy'
# gem 'alchemy-devise', git: "https://github.com/jetsgit/alchemy-devise.git", branch: "3.4-stable-jet"
gem 'alchemy-devise', path: "../alchemy-devise", branch: "3.4-stable-jet"

gem 'active_model-errors_details', git: 'https://github.com/cowbell/active_model-errors_details.git'

# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

gem 'simple_form', '3.4.0'

gem 'bower-rails'

# fix for using CSRF tokens with AngularJS
gem 'ng-rails-csrf'

gem 'fullcalendar-rails'
# gem 'momentjs-rails'
# gem 'bootstrap3-datetimepicker-rails'

# adding because respond_to put in a gem
gem 'responders', '~> 2.0'

# whenever for backup cron job
gem 'whenever', require: false

gem 'angular-rails-templates'
gem 'angular-ui-bootstrap-rails'
gem 'alchemy_cms', path: '../alchemy_cms', branch: '3.4-jet'
# gem 'alchemy_cms', git: "https://github.com/AlchemyCMS/alchemy_cms.git", branch: "3.4-stable"
gem 'actionpack-page_caching', git: "https://github.com/rails/actionpack-page_caching.git"

# gem 'alchemy-angular', git: "https://github.com/AlchemyCMS/alchemy-angular.git"
gem 'alchemy-angular', path: '../alchemy-angular', branch: 'fresh_start'

gem 'jquery-rails'
# gem 'jquery-ui-rails'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

group :development, :test do
  gem 'teaspoon', git: 'git://github.com/modeset/teaspoon.git'
  gem 'teaspoon-jasmine'
  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug'
  gem 'pry-rails'
  gem 'awesome_print'
  gem 'rspec'
  gem 'rspec-rails', '~>2.0'
  gem 'factory_girl_rails', '~>4.0'
  gem 'capybara'
  gem 'database_cleaner'
  
  gem 'poltergeist'
  gem 'capybara-angular'
end

group :development do
  # Access an IRB console on exception pages or by using <%= console %> in views
  gem 'web-console', '~> 2.0'
end
@tvdeyen
Copy link
Member

tvdeyen commented May 8, 2018

Thanks for reporting. Fixed by #1430

Will release a v3.6.5 soon. Please upgrade to v3.6.5 when it gets released or use the 3.6-stable branch, as we do not support v3.4 any more.

@jetsgit
Copy link
Author

jetsgit commented May 8, 2018

Thanks for fix and update re using 3.6-stable
Cheers!

@tvdeyen
Copy link
Member

tvdeyen commented May 8, 2018

Released v3.6.5 ✅

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

No branches or pull requests

2 participants