Opened 15 years ago

Closed 11 years ago

#1221 closed Support Requests (fixed)

Section names may cause html names to be too long

Reported by: Paul A. Bristow Owned by: Daniel James
Milestone: To Be Determined Component: quickbook
Version: Boost 1.34.1 Severity: Cosmetic
Keywords: long filenames upper case Cc:

Description

The neat automatic generation of section names needs to carry two warnings:

1 Names may cause html filenames to become too long (>32 chars)

2 User provided section names that include capitals may generate CamelCase filenames, disapproved by Boost. So recommend using all lower case section names.

Change History (7)

comment:1 by Daniel James, 12 years ago

Owner: changed from Joel de Guzman to Daniel James
Status: newassigned

Concerning point 2, it should be its own ticket. And no, I won't fix it, quickbook shouldn't force people to follow boost guidelines. Especially since I want it to eventually be useful outside of boost.

But I'll look into dealing with long ids. I think that for 1.5- they'll issue a warning, for 1.6+ they'll be truncated. It'll need to detect collisions, although it probably should do that anyway.

comment:2 by anonymous, 12 years ago

I seem to recall seeing something in the XSL stylesheets for reducing the length of the file names.

comment:3 by Paul A. Bristow, 12 years ago

OK with both your proposals. Thanks.

comment:4 by anonymous, 11 years ago

Version: Boost 1.34.1Boost 1.48.0

comment:5 by anonymous, 11 years ago

Milestone: To Be DeterminedBoost 1.48.0
Version: Boost 1.48.0Boost 1.34.1

Oops, wrong field.

comment:6 by Daniel James, 11 years ago

Milestone: Boost 1.48.0To Be Determined

comment:7 by Daniel James, 11 years ago

Resolution: fixed
Status: assignedclosed

(In [75251]) Quickbook: New version of id_manager. Fixes #1221.

This encapsulates more in the id and section handling code. Fixes a few edge cases and separates implementation of the new and old section handling code. Always normalizes and truncates generated ids in quickbook 1.6.

Note: See TracTickets for help on using tickets.