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

Fluid Field and text area field with Smiley enabled clashing #132

Closed
ttmwebdesign opened this issue Feb 17, 2019 · 1 comment
Closed

Fluid Field and text area field with Smiley enabled clashing #132

ttmwebdesign opened this issue Feb 17, 2019 · 1 comment
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.

Comments

@ttmwebdesign
Copy link

ttmwebdesign commented Feb 17, 2019

Description of the problem

When clicking on the Smiley picker on a text area field within a Fluid Field, the screen refreshes, instead of opening the image grid of smiley's to pick.

How To Reproduce
Steps to reproduce the behavior:

  1. Create Fluid Field.
    a. Select a text area field (i.e., 'Body') to associate with this Fluid Field, that has 'Show Smileys' selected.
    b. Associate Fluid Field to a Channel.
  2. Create entry in that channel.
  3. Pick 'Body' from the Fluid Field drop down.
  4. Click on Smiley picker.
  5. Screen refreshes. If any content was added to the text area prior, it will be purged.

Error Messages

I enabled the debugger but did not see any errors after this happened. The first time it happened, I had content typed up already, so it was a bit of a shock when the page refreshed and it was all gone.

Screenshots / Videos / Template Code

This happens from within the CP on the publish screen.

Environment Details:

  • Versions 5.1.3 and 5.1.4
  • PHP Version 7.0.33
  • MySQL V 5.6.36
  • Web Server: Apache

Duplicated on local MAMP, older EE install:

  • V 4.3.6
  • PHP v 7.2.8
  • MySQL 5.7.23
  • Apache

Possible Solution

Additional context

I was able to duplicate this on a separate domain on newly upgraded EE (same server), as well as an older EE install on a local laptop environment with MAMP.

This issue does not happen when that same text area field is outside of the fluid field.

I also tried toggling the "show smileys" off and back on, but the results were the same - a page refresh.

@ttmwebdesign
Copy link
Author

Additional note: This seems to only happen before an entry is saved with the 'SAVE' button. Once I hit save when I tried again today, the smiley field opens up as expected, no screen refresh. Autosave did not seem to prevent the data from being purged.

@kevincupp kevincupp added the Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on. label Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Accepted Bug has been confirmed, is reproducible, and ready to work on.
Projects
None yet
Development

No branches or pull requests

2 participants