Ticket #2487 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

2 text areas in CMS & save fails

Reported by: sarahk Assigned to: aoneil
Type: defect Priority: medium
Milestone: Component: CMS - General
Version: 2.2.2-rc2 Severity: medium effort / impact
Keywords: text editor Cc:
Due date: Harvest Task: (Unknown)
Invoice sent to client: 0 Hours:

Description

I had some functionality working through different releases. With rc3 it no longer saves. I can't see the reason.

code file is attached.

Attachments

HomePage.php (0.7 kB) - added by sarahk 4 months ago.

Change History

Changed 4 months ago by sarahk

Changed 4 months ago by ischommer

  • milestone deleted

your code looks alright... can you please provide specific error messages? you can use www.getfirebug.com to show the response of ajax-requests like a saving-process within the CMS.

Changed 4 months ago by sarahk

The errors shown in firebug were surprisingly helpful. Thanks for letting me know!

Turns out the error was in the format of the text field. Should have been

static $db = array(

'Column2' => 'HTMLText', 'Slogan' => 'Text'

);

while I had column2 as 'Text'

Changed 3 months ago by sminnee

  • status changed from new to closed
  • resolution set to fixed

It looks like this was a configuration issue; I'm closing this off.

Note: See TracTickets for help on using tickets.