« Nearly More Tidy
The Darkest Days Are Over »

Little Tricks

One of my colleagues was having trouble earlier today with modifying a tag and asked me to help. This tag had some custom code attached to it and he wanted to add another set of custom code. Whenever he tried linking the code to the tag, he kept getting an error.

It turns out that the system doesn’t like empty arrays while linking.

During runtime, it doesn’t matter if the arrays are empty, but when you initially link the code to the tag, the system wants to have at least one element in each array. There is no obvious reason that the system should need to have an element in the array but it does.

It is weird silly tricks like that that help keep those with experience in work.

Go Top

Comments

To comment on this article, send me an email

No comments yet.