Error when configuring Help menu

Project:RUcore/NJDH/Partner Portal Search
Version:7.7
Component:Portal Configuration - Search Portal Tool
Category:bug report
Priority:normal
Assigned:ananthan
Status:closed
Description

In the test system Search Portal tool, I added a new item to the JOHP Help menu and saved it. When I went back to edit the menu, I received the following error:

faultCode0faultStringNotice:Undefined variable: arrEditPull in /home/httpd/html/rucore/partnerportal/stylizer/helpmenu.php on line 221

The item I added was:
Label: 'To Search for Interviews by the Artist’s Name'
Note: 'Click on the link that says, “Search the Jazz Oral History Portal.”
In the Search tab of the interface, type in the name of the artist whose oral history you want to examine.'

Comments

#1

Version:7.6.1» 7.7

The problem is caused by the value in item that was added. That value contains quotes in both the title and body that are the issue. Moving to 7.7 to re-examine.

#2

Assigned to:chadmills» martyb
Status:active» test

Use the test values in comment one when testing. Note that legacy, previously stored labels, when edited may drop out a single apostrophe if present. You will need to add it back in manually. Subsequent edits should not drop out the single apostrophe. This is due to some normalization of the character set going on with edit moving forward.

#3

Assigned to:martyb» chadmills
Status:test» active

In the same JOHP Help menu on the test system, I added a new help item:
Label: To Search for Interviews by the Artist’s Name -- 2
Note: Click on the link that says, “Search the Jazz Oral History Portal.”
In the Search tab of the interface, type in the name of the artist whose oral history you want to examine.

I saved the Help menu. When I went back to edit it, I got the following error:
"faultCode0faultStringNotice:Undefined variable: arrEditPull in /home/httpd/html/rucore/partnerportal/stylizer/helpmenu.php on line 221"

Also, on a newly created Help menu (Marty's test help menu), I noticed that apostrophes now work in both the label and note body, but double quotes typed in the note body when adding an item disappear after the item is added. Editing the menu, adding the double quotes back in the item and saving the menu still does not retain the double quotes.

#4

Status:active» test

Hi Marty,

Thank you for testing this, unfortunately it was a bit premature. Testing will begin the first week or so of November. I will toggle this back to test for now.

#5

Assigned to:chadmills» martyb

#6

Assigned to:martyb» chadmills
Status:test» active

The error and disappearing double quotes still occur as described in comment #3.

#7

Assigned to:chadmills» martyb
Status:active» test

I copied and pasted the Label and Note from comment #3 into a new help style. I was able to save it with no issue. I then edited the style and added it again as a second item. You will have to let me know the specific steps you are taking. If it helps the style I created with this label and note is called "Test 7.7"

#8

Assigned to:martyb» chadmills
Status:test» active

Here are my steps:
1. In Stylizer, go to Help Menus -> Create a new help menu
2. Title: Marty's Help Menu 4
3. Tab Label: Help
4. Click "Create new".
5. Label: To Search for Interviews by the Artist’s Name
6. Note: Click on the link that says, “Search the Jazz Oral History Portal.”
In the Search tab of the interface, type in the name of the artist whose oral history you want to examine.
7. (The Note had a carriage return after Portal." followed by a second line In the Search tab ..., which your test did not.)
8. Click Add.
9. Click "Save Help Menu".
10. Click "Edit an existing help menu".
11. Select Marty's Help Menu 4".
12. Click Edit.
13. Got the screen in the attachment.
14. Click "Cancel and quit". (Doesn't do anything)
15. Click "Save Help Menu".
16. Select Marty's Help Menu 4".
17. Click Edit.
18. Got faultCode0faultString Notice error.

#9

Assigned to:chadmills» martyb
Status:active» test

Both the carriage return and the presence of smart single and double quotes were causing the problems. The carriage returns will be converted in br tags and converted back when editing. The smart-quotes are converted to their ascii codes.

#10

Assigned to:martyb» ananthan
Status:test» fixed

Works as specified. Double quotes are allowed in the Note field. Single quotes are allowed in the Label and Note fields. Carriage returns are allowed in the Note field. All are displayed correctly in the portal.

#11

Status:fixed» closed

Back to top