Hi Stell,

I just upgraded from a previous dev version

I needed to adjust a "Title" (Question)

On changing the title and saving i found

<p> </p> tags

Around my "Title"

My first thought was due to me adding Pathauto, which was soon discounted. And I knew i had already told Tinymce Not to apply to the field , so whats happening, I wonder.

I then noticed a new field
"Question Details" which had a duplicate of my "Question" but the field had TinyMCE applied

OK so you added a new field, and never told me :)

Fine. It says optional so i deleted the content and saved the node

Not Likely !!!

I got a

"Question details (optional) field is required."

Now there's a contradiction :)

Disabling rich text on the "Question Details"

and removing

<p> </p> tags

Solves the issue of the "Question"

Issues i can see

Question Details can not be empty
By Default this field should not be enabled (Is there an option to disable)
It appears that if there is a "Question Details " it is used by default as the title

Suggestions on a postcard please :)

regards
John

Comments

Anonymous’s picture

Title: Quation and Question Details cause error after upgrade » Question and Question Details cause error after upgrade

I just noticed the last entry in

http://drupal.org/node/251493

Which i am assuming may have been the cause of the trouble :)

stella’s picture

Status: Active » Fixed

Ok, I've committed a fix for the optional field being "required". It will be included in the next dev release, available later today.

It's a new field, so you'll need to follow the instructions at http://drupal.org/node/294708 to prevent the detailed-question field from being modified by the tinyMCE module. On admin/settings/faq/questions there is an option to configure which question text will be displayed.

I'm hoping to release faq soon. It'd be great if you could test it some more and let me know if you find any additional issues.

Cheers,
Stella

Anonymous’s picture

Hi Stella, many thanks for the reply

One thing that struck me as odd was that "Question Details" became default over "Question", which I was using. Can that be accomodated too? As i can see a lot of people happily upgrading, reading the release notes NOT :) And when they come to editing the page, things not ahppeneing as expected.

Something else I have noticed and not sure why its there or if its even a problem extra

tags

 <div class="faq-qa-description"><p><p>MYFAQ TERM DESCRIPTION</p></p></div>

At first I thought I had forgot to turn off TinyMCE on the Taxonomy Description, but on checking, its set to be off

Will give the update a test when its available later today, and report back

regards
John

stella’s picture

The long question can be "turned off" - that's the new setting on admin/settings/faq/question which allows you to determine which version of the question (long vs short vs both) be displayed. If long is chosen, then it is the default.

Anonymous’s picture

Hi Stella,

I think my concern is the fact that the long question never existed ( as far as i know) but now its added, it becomes by default enabled, meaning we have to now go back in to settings and make a change to give back what we had, Rather than Short Question being default after upgrade .

Anonymous’s picture

Just tried the latest release, and all seems to be working well..

Long question can be empty

stella’s picture

I've also just changed the default question length to be short. Will be available in the next dev release.

Cheers,
Stella

stella’s picture

Released in 6.x-1.8.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.