Export Failed Element Log(s) after deliver? - export

When a deliver has been performed I can rightlick an entry in the GUI version/element log and it displays me a popup with the element log. Quite handy.
I now have a delivery with about 25 failed ones and a couple of hundred OK's. Sadly I can not sort on the column "status" so I have to make screenshots wherever I find a [!] to sit together with the specific team to find out if it is really ok to not deliver those.
It would however be handy to have this list of element logs from a deliver so that I do not have to make screenshots or copy the contents of the popup box one by one but just have a list of the failed ones with the element log.
Is there a way to export the element logs from a deliver (so the the ones that show up when you rightclick and choose "Display Element Log") and/or only the ones that gave failures?

Whenever a deliver fails graphically, one possible solution is to resume it through the command line (cleartool deliver -resume), grepping for the "cleartool Error" message.
At least that way, you have a text information to share.
Other than tat, I do not know of a way to export the deliver result directly from the GUI.

Related

Sitecore - some items are missing in index after performing full index rebuild

We are facing an issue in our sitecore instance. When we perform full index rebuild in sitecore, we have noticed that some of the items are missing and they are not found throughout solr index. We have checked log files as well but no error traces are found. Then we tried publishing in web database i.e. Going to desptop --> Selecting web database from below --> publishing parent folders of the missing items and those items are available in the index again. Any suggestion or help will be much appreciated.
Thanks in Advance,
Lalit S. Joshi
There might be couples of reasons for failure some items while indexing. Please check the below points:
Check the crawling.log files and see any object reference error is thrown after complete the full index rebuilding.
Sometimes Event Queue table keeps growing in size and eventually getting flooded, so clear this one.
If you want to index every template, then do not include anything in the exclude Template section. If this is added, then those items will not be indexed. Even also check the field types of your template those needs to be indexed.
Check the security of the items or some conditions are there for that result, those items are might not be getting published properly.
Did you write any custom logic for e.g. computed fields for Solr index, check the log if they are throwing any error.
You didn't mention any specific error, so I have tried to mention some suggestion above. Hope this will help.

Verifying ClearCase files have been labeled properly

My company uses ClearTeam Explorer for version control. Sometimes when either I or a co-worker apply a label, we get an error message. Today my comrade got
"An error occurred during a ClearCase operation.
CRMAP7009: CCRC command "WriteProperties" failed:
CCRC WANServer: Error: No permission to perform operaton "change event".
CCRC WAN Server:Error: Mustbe one of : user associated with event, object owner, element owner, VOB.."
According to the above message, you would think the operation failed, correct?
However, it appears looking at a random sampling of the files that everything was labeled correctly.
It is alarming to get this message and then find out it appears to have done what it said it didn't??? - There will always be lingering doubt unless you can verify that every single file was labeled properly.
Early on, I ignored this error and continued making labels for various versions. Now, I want to verify because I have lots of GB of files and there is no way I can hand verify everything.
Offhand, it seems like I want to make a view based on the date the label was created (maybe months ago) and then have a script to show any files that don't have a label.
Comparing files between 2 labels might work also provided at least one of the labels has "all the files" labeled?
Any guidance is appreciated.
According to the above message, you would think the operation failed, correct?
No, and there is an APAR PM79463 in progress on that one.
(an APAR is an Authorized Program Analysis Report, or APAR, that is: "a formal report to IBM development of a problem caused by a suspected defect in a current release of an IBM program")
(CTE = " ClearTeam Explorer")
Error description
User tried to apply label to an element on CTE, and error messages were shown although label was applied.
So user tried to apply label to an element on HomeBase in native client after logging in Windows as the same user as user who was used in CTE, and succeeded to apply label without errors.
If executed user is not the owner nor creator of the object but belongs the same group of VOB owner, the issue was occurred on CTE although the operation was succeeded on HomeBase.
Error messages are shown on pop up window as follows.
CRMAP7009: CCRC command 'WriteProperties' failed:
CCRC WAN Server Error: no permission to perform operation 'change event'
CCRC WAN Server Error: Must be one of : user associated with event:
object owner, element owner, VOB owner, member of ClearCase group
So you can try and put labels through the ClearCase HomeBase gui, which seems more robust.

how to determine which profiles are assigned to a record type

I have 90 profiles,and a bunch of record types. Business wants to know who has access to a current record type (picklists..)
the only way i know how to do this, is to go profile by profile and check the Record Type Settings and see if it's listed.
is there a way to just generate a list or something? either through the point and click or apex?
EDIT:
I tried doing a search on the .profiles but eclipse doesn't support multi-line searches. Though it does support regexes i can't get my regular expression right, OR eclipse doesn't like me. Given my poor programming skills (and how I yell at my computer) it might be the latter. This is the string I want to search on.
<recordType>Event.RTEvent</recordType>
<visible>false</visible>
For something like this, I find that Notepad++ is a huge help. It supports multi-line searches if you enable the extended search mode (a simple radio button at the bottom of the Find menu), allowing you to grab line breaks (\r, \n, etc.). Pretty simple to do this across all of your profiles as well by navigating to the profiles folder of the Eclipse project in Windows Explorer, selecting all files, then right-click and select "Edit with Notepad++". Once they're all open, hit ctrl-F, enable the extended search mode, and search for something like this:
Event.RTEvent</recordType>\n <visible>false
Note that you may need to adjust the number of spaces after the \n depending on how far the data is indented. Click "Find All in All Opened Documents", and it'll give you a list of all occurrences of that string in your profiles files.

What does it mean if some files in TortoiseSVN are marked "deleted" and others "deleted (+)" with a plus sign?

I'm about to do a commit in TortoiseSVN involving rearranging a lot of files and directories. On the "commit" window, there are several files whose text status is "deleted" or "added" but others whose text status is "deleted (+)" or "added (+)". What does the (+) mean?
(It's quite difficult to Google for a plus sign, and the word "plus" turns up lots of hits about the blue overlay icon meaning "added")
The "+" means that TortoiseSVN was able to figure out the item's history, and has added the history metadata to this commit. For instance, say you rename a file from a to b. If you see the (+), Tortoise knows that you didn't really delete a file called a and make a file called b, and has determined that a rename took place.
That's good, because it means you can trace the history of b backwards to the point where it used to be a. Otherwise, you'd hit a dead end, and it would look like b sprang out of nowhere in the history. You can mouseover these entries and see more details about where they came from.
Deleted(+) is used to indicate that the file isn't really gone, it's just been renamed, and there is an associated added(+) that represents the new file.

How to start the associated program when selecting more than one files?

I have set .jpg file associated to my own program. I want to add the context menu to .jpg files, so I set the entry of HKCR.jpg\shell\open\command to "myProg.exe %1". After associating, there will be an item on the top of the context menu saying "Open image with myprog". This works right when I select a single .jpg file, but when I selected more than one file and click the top item of the context menu, nothing happended. How can I solve the problem?
Thank you very much
Each selected file will be sent to a new instance of your application. Your application should check if a previous version exists, or not. If a previous instance exists, it should sent its parameters to it (e.g. using Windows Messages) and then terminate.
Another approach is to use DDE (Dynamic Data Exchange), an old method used by Shell to send all files to one instance of your program.
You might need double quotes around the "%1".
Read this article for much more detailed information about how all this works.
http://msdn.microsoft.com/en-us/library/bb776883.aspx
Also, this blog entry talks about what you need to do specifically for multi-select command execution: http://blogs.msdn.com/pix/archive/2006/06/30/652889.aspx

Resources