It would also be great if there were a way to automatically add a title if one is not available. If the title is not available, the document is not imported.

I hadn't got as far as figuring how to handle trivial errors during bulk imports.
Throwing up the edit form is of course useless.
What would you suggest for an 'automatic' title? some version of the file path?

Perhaps I need some sort of 'problem' queue to shunt them into, but I was quite pleased to do the job without yet another database table. I guess I could use the cache...

Comments

creatorsdream’s picture

If no title exists, add a standard title like "NOTITLE" so that the user can search and fix the title after the merge takes place.

dman’s picture

Status: Active » Fixed

Done in CVS
New option if no 'title' found, behaviours can be:
- Skip processing altogether
- Call it "Untitled Document"
- or Label it after the path

creatorsdream’s picture

Component: Documentation » Code

Cool Beans! This makes it so the process completes. May I suggest that instead of using "Untitled Document" a unique name like "NoTitle" will allow the user to clear results from a search. Or, you could let the user decide?...

Anyway, this is great! I sure am lucky to have come in for the need at the time you were actively developing the module.

You're Dman!

quique

dman’s picture

Status: Fixed » Postponed

I was considering making it user configurable, but simply didn't want another widget on the config screen for what is a really marginal error.

I'll be happy to get it in when we get collapsable formgroups (as seen in 4.7 and a few elsewhere) but I'll leave it as is for now.
You can hack it yourself if you want ;-)

dman’s picture

Status: Postponed » Closed (fixed)

No more action appears to be needed